mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-07-14 00:00:44 -04:00
Compare commits
8 Commits
fe794f4868
...
7bf9cace9e
Author | SHA1 | Date | |
---|---|---|---|
|
7bf9cace9e | ||
|
d7eac6010d | ||
|
7d91cb83d9 | ||
|
ce4946f5d8 | ||
|
e6b167565e | ||
|
fcfeac740e | ||
|
15415fcbf3 | ||
|
f8acdb5f6a |
@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
## 8.2.0-beta.1 - 2023-01-12
|
||||
* [#1167](https://github.com/stripe/stripe-ruby/pull/1167) API Updates for beta branch
|
||||
* Updated stable APIs to the latest version
|
||||
* Change `quote.draft_quote` implementation to from calling `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
|
||||
* Add support for `Tax::Register` resource
|
||||
|
||||
## 8.1.0 - 2023-01-12
|
||||
* [#1162](https://github.com/stripe/stripe-ruby/pull/1162) Improve request events instrumentation
|
||||
|
||||
|
@ -1 +1 @@
|
||||
v218
|
||||
v219
|
@ -253,7 +253,11 @@ a success or error. Receives `RequestEndEvent` with the following properties:
|
||||
- `path`: Request path. (`String`)
|
||||
- `user_data`: A hash on which users may have set arbitrary data in
|
||||
`request_begin`. See above for more information. (`Hash`)
|
||||
- `request_id`. HTTP request identifier.
|
||||
- `request_id`: HTTP request identifier. (`String`)
|
||||
- `response_header`: The response headers. (`Hash`)
|
||||
- `response_body` = The response body. (`String`)
|
||||
- `request_header` = The request headers. (`Hash`)
|
||||
- `request_body` = The request body. (`String`)
|
||||
|
||||
#### Example
|
||||
|
||||
|
@ -99,6 +99,7 @@ module Stripe
|
||||
SubscriptionSchedule::OBJECT_NAME => SubscriptionSchedule,
|
||||
Tax::Calculation::OBJECT_NAME => Tax::Calculation,
|
||||
Tax::Registration::OBJECT_NAME => Tax::Registration,
|
||||
Tax::Settings::OBJECT_NAME => Tax::Settings,
|
||||
Tax::Transaction::OBJECT_NAME => Tax::Transaction,
|
||||
TaxCode::OBJECT_NAME => TaxCode,
|
||||
TaxId::OBJECT_NAME => TaxId,
|
||||
|
@ -86,6 +86,7 @@ require "stripe/resources/subscription_item"
|
||||
require "stripe/resources/subscription_schedule"
|
||||
require "stripe/resources/tax/calculation"
|
||||
require "stripe/resources/tax/registration"
|
||||
require "stripe/resources/tax/settings"
|
||||
require "stripe/resources/tax/transaction"
|
||||
require "stripe/resources/tax_code"
|
||||
require "stripe/resources/tax_id"
|
||||
|
15
lib/stripe/resources/tax/settings.rb
Normal file
15
lib/stripe/resources/tax/settings.rb
Normal file
@ -0,0 +1,15 @@
|
||||
# File generated from our OpenAPI spec
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
module Tax
|
||||
# You can use Tax `Settings` to manage configurations used by Stripe Tax calculations.
|
||||
#
|
||||
# Related guide: [Account settings](https://stripe.com/docs/tax/connect/settings).
|
||||
class Settings < SingletonAPIResource
|
||||
include Stripe::APIOperations::Save
|
||||
|
||||
OBJECT_NAME = "tax.settings"
|
||||
end
|
||||
end
|
||||
end
|
@ -1,5 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
VERSION = "8.1.0-beta.4"
|
||||
VERSION = "8.2.0-beta.1"
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user