class Braintree::ExchangeRateQuoteResponse
Attributes
Public Class Methods
Source
# File lib/braintree/exchange_rate_quote_response.rb, line 7 def initialize(attributes) @attrs = attributes.keys set_instance_variables_from_hash(attributes) @quotes = (@quotes || []).map { |quote_hash| ExchangeRateQuote.new(quote_hash) } end
Public Instance Methods
Source
# File lib/braintree/exchange_rate_quote_response.rb, line 13 def inspect inspected_attributes = @attrs.map { |attr| "#{attr}:#{send(attr).inspect}" } "#<#{self.class} #{inspected_attributes.join(" ")}>" end