mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-05-31 00:00:37 -04:00
15 lines
272 B
Ruby
15 lines
272 B
Ruby
module Stripe
|
|
class ListObject < StripeObject
|
|
|
|
def each(&blk)
|
|
self.data.each(&blk)
|
|
end
|
|
|
|
def all(filters={})
|
|
response, api_key = Stripe.request(:get, url, api_key, filters)
|
|
Util.convert_to_stripe_object(response, api_key)
|
|
end
|
|
|
|
end
|
|
end
|