Class: OEXRWrapper::Currency
- Inherits:
-
Object
- Object
- OEXRWrapper::Currency
- Defined in:
- lib/oexrwrapper/objects/currency.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(code, name) ⇒ Currency
constructor
A new instance of Currency.
Constructor Details
#initialize(code, name) ⇒ Currency
Returns a new instance of Currency.
5 6 7 8 |
# File 'lib/oexrwrapper/objects/currency.rb', line 5 def initialize(code, name) @code = code @name = name end |