Sha256: ca2970fe2af6572a3e30ac36e4ebc7f409951ac6d5a8e3862234ba3085212135

Contents?: true

Size: 317 Bytes

Versions: 8

Compression:

Stored size: 317 Bytes

Contents

module Braintree
  class ExchangeRate
    include BaseModule

    def initialize(gateway, attributes)
      set_instance_variables_from_hash(attributes)
    end

    def self.generate(exchange_rate_quote_request)
      Configuration.gateway.exchange_rate_quote.generate(exchange_rate_quote_request)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
braintree-4.23.0 lib/braintree/exchange_rate.rb
braintree-4.22.0 lib/braintree/exchange_rate.rb
braintree-4.21.0 lib/braintree/exchange_rate.rb
braintree-4.20.0 lib/braintree/exchange_rate.rb
braintree-4.19.0 lib/braintree/exchange_rate.rb
braintree-4.18.0 lib/braintree/exchange_rate.rb
braintree-4.17.0 lib/braintree/exchange_rate.rb
braintree-4.16.0 lib/braintree/exchange_rate.rb