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



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

def amount
  @amount
end

#converted_amountObject (readonly)

Returns the value of attribute converted_amount

Returns:

  • (Object)

    the current value of converted_amount



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

def converted_amount
  @converted_amount
end

#countryObject (readonly)

Returns the value of attribute country

Returns:

  • (Object)

    the current value of country



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

def country
  @country
end

#cpi_ratioObject (readonly)

Returns the value of attribute cpi_ratio

Returns:

  • (Object)

    the current value of cpi_ratio



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

def cpi_ratio
  @cpi_ratio
end

#from_currencyObject (readonly)

Returns the value of attribute from_currency

Returns:

  • (Object)

    the current value of from_currency



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

def from_currency
  @from_currency
end

#from_dateObject (readonly)

Returns the value of attribute from_date

Returns:

  • (Object)

    the current value of from_date



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

def from_date
  @from_date
end

#fx_rateObject (readonly)

Returns the value of attribute fx_rate

Returns:

  • (Object)

    the current value of fx_rate



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

def fx_rate
  @fx_rate
end

#granularityObject (readonly)

Returns the value of attribute granularity

Returns:

  • (Object)

    the current value of granularity



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

def granularity
  @granularity
end

#original_amountObject (readonly)

Returns the value of attribute original_amount

Returns:

  • (Object)

    the current value of original_amount



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

def original_amount
  @original_amount
end

#to_currencyObject (readonly)

Returns the value of attribute to_currency

Returns:

  • (Object)

    the current value of to_currency



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

def to_currency
  @to_currency
end

#to_dateObject (readonly)

Returns the value of attribute to_date

Returns:

  • (Object)

    the current value of to_date



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

def to_date
  @to_date
end