class Braintree::ExchangeRateQuoteInput

Attributes

attrs[R]
base_amount[R]
base_currency[R]
markup[R]
quote_currency[R]

Public Class Methods

new(attributes) click to toggle source
# File lib/braintree/exchange_rate_quote_input.rb, line 11
def initialize(attributes)
  @attrs = attributes.keys
  set_instance_variables_from_hash(attributes)
end

Public Instance Methods

inspect() click to toggle source
# File lib/braintree/exchange_rate_quote_input.rb, line 16
def inspect
  inspected_attributes = @attrs.map { |attr| "#{attr}:#{send(attr).inspect}" }
  "#<#{self.class} #{inspected_attributes.join(" ")}>"
end