class Braintree::ExchangeRateQuote
Attributes
attrs[R]
base_amount[R]
exchange_rate[R]
expires_at[R]
id[R]
quote_amount[R]
refreshes_at[R]
trade_rate[R]
Public Class Methods
new(attributes)
click to toggle source
# File lib/braintree/exchange_rate_quote.rb, line 14 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.rb, line 19 def inspect inspected_attributes = @attrs.map { |attr| "#{attr}:#{send(attr).inspect}" } "#<#{self.class} #{inspected_attributes.join(" ")}>" end