Class: CurrencyLayer::ConvertOptions
- Inherits:
-
Object
- Object
- CurrencyLayer::ConvertOptions
- Includes:
- Hashable
- Defined in:
- lib/currency_conversion/convert/convert_options.rb
Instance Attribute Summary collapse
-
#access_key ⇒ Object
Returns the value of attribute access_key.
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#from ⇒ Object
Returns the value of attribute from.
-
#to ⇒ Object
Returns the value of attribute to.
Instance Method Summary collapse
-
#initialize ⇒ ConvertOptions
constructor
A new instance of ConvertOptions.
Constructor Details
#initialize ⇒ ConvertOptions
Returns a new instance of ConvertOptions.
13 14 15 |
# File 'lib/currency_conversion/convert/convert_options.rb', line 13 def initialize() @query = nil end |
Instance Attribute Details
#access_key ⇒ Object
Returns the value of attribute access_key.
7 8 9 |
# File 'lib/currency_conversion/convert/convert_options.rb', line 7 def access_key @access_key end |
#amount ⇒ Object
Returns the value of attribute amount.
11 12 13 |
# File 'lib/currency_conversion/convert/convert_options.rb', line 11 def amount @amount end |
#from ⇒ Object
Returns the value of attribute from.
9 10 11 |
# File 'lib/currency_conversion/convert/convert_options.rb', line 9 def from @from end |
#to ⇒ Object
Returns the value of attribute to.
10 11 12 |
# File 'lib/currency_conversion/convert/convert_options.rb', line 10 def to @to end |