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



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

def amount
  @amount
end

#dateObject (readonly)

Returns the value of attribute date

Returns:

  • (Object)

    the current value of date



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

def date
  @date
end

#effective_dateObject (readonly)

Returns the value of attribute effective_date

Returns:

  • (Object)

    the current value of effective_date



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

def effective_date
  @effective_date
end

#fromObject (readonly)

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



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

def from
  @from
end

#original_amountObject (readonly)

Returns the value of attribute original_amount

Returns:

  • (Object)

    the current value of original_amount



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

def original_amount
  @original_amount
end

#rateObject (readonly)

Returns the value of attribute rate

Returns:

  • (Object)

    the current value of rate



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

def rate
  @rate
end

#toObject (readonly)

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



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

def to
  @to
end