Sha256: c60d95a4506e35d546eb95539ca86e6dc5368d89651afeea29021fdc3d21d88c
Contents?: true
Size: 358 Bytes
Versions: 8
Compression:
Stored size: 358 Bytes
Contents
module Braintree class PlanGateway # :nodoc: def initialize(gateway) @gateway = gateway @config = gateway.config end def all response = @config.http.get "/plans" attributes_collection = response[:plans] attributes_collection.map do |attributes| Plan._new(@gateway, attributes) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems