Sha256: 51cdc4a849c4ef9dc2e6934badeb7f56910406d8e90a4467083ecae76e119cc4

Contents?: true

Size: 368 Bytes

Versions: 27

Compression:

Stored size: 368 Bytes

Contents

module Stripe
  module APIOperations
    module List
      module ClassMethods
        def all(filters={}, api_key=nil)
          response, api_key = Stripe.request(:get, url, api_key, filters)
          Util.convert_to_stripe_object(response, api_key)
        end
      end

      def self.included(base)
        base.extend(ClassMethods)
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
stripe-1.16.0 lib/stripe/api_operations/list.rb
stripe-1.15.0 lib/stripe/api_operations/list.rb
stripe-1.14.0 lib/stripe/api_operations/list.rb
stripe-1.13.0 lib/stripe/api_operations/list.rb
stripe-1.12.0 lib/stripe/api_operations/list.rb
stripe-1.11.0 lib/stripe/api_operations/list.rb
stripe-1.10.1 lib/stripe/api_operations/list.rb
stripe-1.10.0 lib/stripe/api_operations/list.rb
stripe-1.9.9 lib/stripe/api_operations/list.rb
stripe-1.8.8 lib/stripe/api_operations/list.rb
stripe-1.8.7 lib/stripe/api_operations/list.rb
stripe-1.8.6 lib/stripe/api_operations/list.rb
stripe-1.8.5 lib/stripe/api_operations/list.rb
stripe-1.8.4 lib/stripe/api_operations/list.rb
stripe-1.8.3 lib/stripe/api_operations/list.rb
stripe-1.8.2 lib/stripe/api_operations/list.rb
stripe-1.8.1 lib/stripe/api_operations/list.rb
stripe-1.7.11 lib/stripe/api_operations/list.rb
stripe-1.7.10 lib/stripe/api_operations/list.rb
stripe-1.7.9 lib/stripe/api_operations/list.rb