mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-07-18 00:00:44 -04:00
Compare commits
2 Commits
79463b2efa
...
5a523c07ba
Author | SHA1 | Date | |
---|---|---|---|
|
5a523c07ba | ||
|
a6a02edebb |
@ -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 ⚠️**
|
||||
|
@ -1 +1 @@
|
||||
v461
|
||||
v495
|
@ -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,
|
||||
|
@ -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"
|
||||
|
17
lib/stripe/resources/account_session.rb
Normal file
17
lib/stripe/resources/account_session.rb
Normal 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
|
@ -1,5 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Stripe
|
||||
VERSION = "9.0.0"
|
||||
VERSION = "9.1.0"
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user