Sha256: 1fd1cf2b651ced3b90dc390d58c330d91f09ff56c8cc0ba91ca1c56d08981940

Contents?: true

Size: 337 Bytes

Versions: 8

Compression:

Stored size: 337 Bytes

Contents

module Braintree
  class ExchangeRate
    include BaseModule # :nodoc:

    def initialize(gateway, attributes) # :nodoc:
      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.15.0 lib/braintree/exchange_rate.rb
braintree-4.14.0 lib/braintree/exchange_rate.rb
braintree-4.13.0 lib/braintree/exchange_rate.rb
braintree-4.12.0 lib/braintree/exchange_rate.rb
braintree-4.11.0 lib/braintree/exchange_rate.rb
braintree-4.10.0 lib/braintree/exchange_rate.rb
braintree-4.9.0 lib/braintree/exchange_rate.rb
braintree-4.8.0 lib/braintree/exchange_rate.rb