Class: Timeprice::CpiPoint

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

Overview

CpiPoint pairs a CPI index value with the granularity of how it was resolved (monthly, annual, or annual derived by averaging 12 months).

Instance Attribute Summary collapse

Instance Attribute Details

#granularityObject (readonly)

Returns the value of attribute granularity

Returns:

  • (Object)

    the current value of granularity



8
9
10
# File 'lib/timeprice/cpi_lookup.rb', line 8

def granularity
  @granularity
end

#valueObject (readonly)

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



8
9
10
# File 'lib/timeprice/cpi_lookup.rb', line 8

def value
  @value
end