Class: CurrencyLayer::ConvertOptions

Inherits:
Object
  • Object
show all
Includes:
Hashable
Defined in:
lib/currency_conversion/convert/convert_options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConvertOptions

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_keyObject

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

#amountObject

Returns the value of attribute amount.



11
12
13
# File 'lib/currency_conversion/convert/convert_options.rb', line 11

def amount
  @amount
end

#fromObject

Returns the value of attribute from.



9
10
11
# File 'lib/currency_conversion/convert/convert_options.rb', line 9

def from
  @from
end

#toObject

Returns the value of attribute to.



10
11
12
# File 'lib/currency_conversion/convert/convert_options.rb', line 10

def to
  @to
end