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