Sha256: 9fa23c53babfbba36ad33c648fd1cac04c65a45533ceda2c95b639e39bec4aac
Contents?: true
Size: 429 Bytes
Versions: 84
Compression:
Stored size: 429 Bytes
Contents
module Braintree class AddOnGateway # :nodoc def initialize(gateway) @gateway = gateway @config = gateway.config @config.assert_has_access_token_or_keys end def all response = @config.http.get("#{@config.base_merchant_path}/add_ons") attributes_collection = response[:add_ons] attributes_collection.map do |attributes| AddOn._new(attributes) end end end end
Version data entries
84 entries across 84 versions & 1 rubygems