Sha256: e9391d616549165123468f59ee88b01a9e6ccea942d5b2329916af1747c2f366
Contents?: true
Size: 510 Bytes
Versions: 10
Compression:
Stored size: 510 Bytes
Contents
module Braintree class ExchangeRateQuoteInput include BaseModule attr_reader :attrs attr_reader :base_currency attr_reader :base_amount attr_reader :markup attr_reader :quote_currency 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
10 entries across 10 versions & 1 rubygems