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

18 lines
391 B
Ruby

module Stripe
module APIOperations
module List
module ClassMethods
def all(filters={}, opts={})
opts = Util.normalize_opts(opts)
response, opts = request(:get, url, filters, opts)
Util.convert_to_stripe_object(response, opts)
end
end
def self.included(base)
base.extend(ClassMethods)
end
end
end
end