Sha256: 6e84236a9bd9fe8829875cb231895a45b5cef982cf5d9c2c32424c76e40d7902
Contents?: true
Size: 615 Bytes
Versions: 8
Compression:
Stored size: 615 Bytes
Contents
module Braintree class ExchangeRateQuote include BaseModule # :nodoc: 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) # :nodoc: @attrs = attributes.keys set_instance_variables_from_hash(attributes) end def inspect # :nodoc: 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