mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-06-05 00:01:07 -04:00
18 lines
391 B
Ruby
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
|