Class: SevenBankFxRate::Elements::Currency
- Inherits:
-
Object
- Object
- SevenBankFxRate::Elements::Currency
- 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
-
#currency_code ⇒ Object
Returns the value of attribute currency_code.
-
#currency_name ⇒ Object
Returns the value of attribute currency_name.
-
#fx_rate ⇒ Object
Returns the value of attribute fx_rate.
Instance Attribute Details
#currency_code ⇒ Object
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_name ⇒ Object
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_rate ⇒ Object
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 |