Class: SevenBankFxRate::Elements::Currency

Inherits:
Object
  • Object
show all
Defined in:
lib/seven_bank_fx_rate/elements/currency.rb

Overview

Corresponds to the currency tag in xml: <currency>

<currencycode>USD</currencycode>
<currencyname>US Dollar</currencyname>
<fxrate>0.0090386</fxrate>

</currency>

Instance Attribute Summary collapse

Instance Attribute Details

#currency_codeObject

Returns the value of attribute currency_code.



12
13
14
# File 'lib/seven_bank_fx_rate/elements/currency.rb', line 12

def currency_code
  @currency_code
end

#currency_nameObject

Returns the value of attribute currency_name.



12
13
14
# File 'lib/seven_bank_fx_rate/elements/currency.rb', line 12

def currency_name
  @currency_name
end

#fx_rateObject

Returns the value of attribute fx_rate.



12
13
14
# File 'lib/seven_bank_fx_rate/elements/currency.rb', line 12

def fx_rate
  @fx_rate
end