Class: Timeprice::ExchangeResult

Inherits:
Data
  • Object
show all
Defined in:
lib/timeprice/exchange.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/exchange.rb', line 10

def amount
  @amount
end

#dateObject (readonly)

Returns the value of attribute date

Returns:

  • (Object)

    the current value of date



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

def date
  @date
end

#effective_dateObject (readonly)

Returns the value of attribute effective_date

Returns:

  • (Object)

    the current value of effective_date



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

def effective_date
  @effective_date
end

#fromObject (readonly)

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



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

def from
  @from
end

#granularityObject (readonly)

Returns the value of attribute granularity

Returns:

  • (Object)

    the current value of granularity



10
11
12
# File 'lib/timeprice/exchange.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/exchange.rb', line 10

def original_amount
  @original_amount
end

#rateObject (readonly)

Returns the value of attribute rate

Returns:

  • (Object)

    the current value of rate



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

def rate
  @rate
end

#toObject (readonly)

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



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

def to
  @to
end