Brian Krausz 4d611c62f7 Support persisted use of Stripe-Account header everywhere
Including implicit use in /v1/accounts/ endpoints
2015-02-09 23:38:34 -08:00

17 lines
352 B
Ruby

module Stripe
module APIOperations
module Create
module ClassMethods
def create(params={}, opts={})
response, opts = request(:post, url, params, opts)
Util.convert_to_stripe_object(response, opts)
end
end
def self.included(base)
base.extend(ClassMethods)
end
end
end
end