lib/stripe/resources/account_session.rb in stripe-10.9.0.pre.beta.1 vs lib/stripe/resources/account_session.rb in stripe-10.9.0

- old
+ new

@@ -11,9 +11,12 @@ # 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" + def self.object_name + "account_session" + end # Creates a AccountSession object that includes a single-use token that the platform can use on their front-end to grant client-side API access. def self.create(params = {}, opts = {}) request_stripe_object(method: :post, path: "/v1/account_sessions", params: params, opts: opts) end