Sha256: c6702729e7ef9abaeae98ce8fb8084a1528abfcde3182a697719d7e9f2b7735d

Contents?: true

Size: 272 Bytes

Versions: 9

Compression:

Stored size: 272 Bytes

Contents

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
stripe-1.8.3 lib/stripe/list_object.rb
stripe-1.8.2 lib/stripe/list_object.rb
stripe-1.8.1 lib/stripe/list_object.rb
stripe-1.7.11 lib/stripe/list_object.rb
stripe-1.7.10 lib/stripe/list_object.rb
stripe-1.7.9 lib/stripe/list_object.rb
stripe-1.7.8 lib/stripe/list_object.rb
stripe-1.7.7 lib/stripe/list_object.rb
stripe-1.7.6 lib/stripe/list_object.rb