Sha256: a9c4127bdbb864ad264c33a10a2ee3ad7aad34b29d6a4c0f16337f1d4e85a80e
Contents?: true
Size: 585 Bytes
Versions: 8
Compression:
Stored size: 585 Bytes
Contents
module Braintree class ExchangeRateQuote include BaseModule attr_reader :attrs attr_reader :base_amount attr_reader :exchange_rate attr_reader :expires_at attr_reader :id attr_reader :quote_amount attr_reader :refreshes_at attr_reader :trade_rate def initialize(attributes) @attrs = attributes.keys set_instance_variables_from_hash(attributes) end def inspect inspected_attributes = @attrs.map { |attr| "#{attr}:#{send(attr).inspect}" } "#<#{self.class} #{inspected_attributes.join(" ")}>" end end end
Version data entries
8 entries across 8 versions & 1 rubygems