mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-12-05 00:02:14 -05:00
10 lines
381 B
Ruby
10 lines
381 B
Ruby
module Stripe
|
|
class Account < SingletonAPIResource
|
|
def deauthorize(client_id, opts={})
|
|
api_key, headers = Util.parse_opts(opts)
|
|
response, api_key = Stripe.request(:post, '/oauth/deauthorize', api_key, { 'client_id' => client_id, 'stripe_user_id' => self.id }, headers, Stripe.connect_base)
|
|
Util.convert_to_stripe_object(response, api_key)
|
|
end
|
|
end
|
|
end
|