Compare commits

..

2 Commits

Author SHA1 Message Date
Richard Marmorstein
5a523c07ba Bump version to 9.1.0 2023-08-31 13:21:46 -07:00
stripe-openapi[bot]
a6a02edebb
Update generated code for v495 (#1266)
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
2023-08-31 13:09:40 -07:00
7 changed files with 29 additions and 4 deletions

View File

@ -1,4 +1,10 @@
# Changelog
# Changelog
## 9.1.0 - 2023-08-31
* [#1266](https://github.com/stripe/stripe-ruby/pull/1266) Update generated code
* Add support for new resource `AccountSession`
* Add support for `create` method on resource `AccountSession`
* [#1262](https://github.com/stripe/stripe-ruby/pull/1262) Explicitly format timestamp in SignatureVerificationError message
## 9.0.0 - 2023-08-16
**⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️**

View File

@ -1 +1 @@
v461
v495

View File

@ -1 +1 @@
9.0.0
9.1.0

View File

@ -14,6 +14,7 @@ module Stripe
# business objects
Account::OBJECT_NAME => Account,
AccountLink::OBJECT_NAME => AccountLink,
AccountSession::OBJECT_NAME => AccountSession,
ApplePayDomain::OBJECT_NAME => ApplePayDomain,
ApplicationFee::OBJECT_NAME => ApplicationFee,
ApplicationFeeRefund::OBJECT_NAME => ApplicationFeeRefund,

View File

@ -3,6 +3,7 @@
require "stripe/resources/account"
require "stripe/resources/account_link"
require "stripe/resources/account_session"
require "stripe/resources/apple_pay_domain"
require "stripe/resources/application_fee"
require "stripe/resources/application_fee_refund"

View File

@ -0,0 +1,17 @@
# File generated from our OpenAPI spec
# frozen_string_literal: true
module Stripe
# An AccountSession allows a Connect platform to grant access to a connected account in Connect embedded components.
#
# We recommend that you create an AccountSession each time you need to display an embedded component
# to your user. Do not save AccountSessions to your database as they expire relatively
# quickly, and cannot be used more than once.
#
# Related guide: [Connect embedded components](https://stripe.com/docs/connect/get-started-connect-embedded-components)
class AccountSession < APIResource
extend Stripe::APIOperations::Create
OBJECT_NAME = "account_session"
end
end

View File

@ -1,5 +1,5 @@
# frozen_string_literal: true
module Stripe
VERSION = "9.0.0"
VERSION = "9.1.0"
end