Class: Timeprice::CompareResult

Inherits:
Data
  • Object
show all
Defined in:
lib/timeprice/compare.rb

Instance Attribute Summary collapse

Instance Attribute Details

#amountObject (readonly)

Returns the value of attribute amount

Returns:

  • (Object)

    the current value of amount



11
12
13
# File 'lib/timeprice/compare.rb', line 11

def amount
  @amount
end

#converted_amountObject (readonly)

Returns the value of attribute converted_amount

Returns:

  • (Object)

    the current value of converted_amount



11
12
13
# File 'lib/timeprice/compare.rb', line 11

def converted_amount
  @converted_amount
end

#countryObject (readonly)

Returns the value of attribute country

Returns:

  • (Object)

    the current value of country



11
12
13
# File 'lib/timeprice/compare.rb', line 11

def country
  @country
end

#cpi_ratioObject (readonly)

Returns the value of attribute cpi_ratio

Returns:

  • (Object)

    the current value of cpi_ratio



11
12
13
# File 'lib/timeprice/compare.rb', line 11

def cpi_ratio
  @cpi_ratio
end

#from_currencyObject (readonly)

Returns the value of attribute from_currency

Returns:

  • (Object)

    the current value of from_currency



11
12
13
# File 'lib/timeprice/compare.rb', line 11

def from_currency
  @from_currency
end

#from_dateObject (readonly)

Returns the value of attribute from_date

Returns:

  • (Object)

    the current value of from_date



11
12
13
# File 'lib/timeprice/compare.rb', line 11

def from_date
  @from_date
end

#fx_rateObject (readonly)

Returns the value of attribute fx_rate

Returns:

  • (Object)

    the current value of fx_rate



11
12
13
# File 'lib/timeprice/compare.rb', line 11

def fx_rate
  @fx_rate
end

#granularityObject (readonly)

Returns the value of attribute granularity

Returns:

  • (Object)

    the current value of granularity



11
12
13
# File 'lib/timeprice/compare.rb', line 11

def granularity
  @granularity
end

#original_amountObject (readonly)

Returns the value of attribute original_amount

Returns:

  • (Object)

    the current value of original_amount



11
12
13
# File 'lib/timeprice/compare.rb', line 11

def original_amount
  @original_amount
end

#to_currencyObject (readonly)

Returns the value of attribute to_currency

Returns:

  • (Object)

    the current value of to_currency



11
12
13
# File 'lib/timeprice/compare.rb', line 11

def to_currency
  @to_currency
end

#to_dateObject (readonly)

Returns the value of attribute to_date

Returns:

  • (Object)

    the current value of to_date



11
12
13
# File 'lib/timeprice/compare.rb', line 11

def to_date
  @to_date
end