Class: GogoKit::Money

Inherits:
Object
  • Object
show all
Defined in:
lib/gogokit/money.rb

Overview

Returned for monetary values, such as ticket prices, fees charged and tax amounts.

Instance Attribute Summary collapse

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



10
11
12
# File 'lib/gogokit/money.rb', line 10

def amount
  @amount
end

#currency_codeObject

Returns the value of attribute currency_code.



10
11
12
# File 'lib/gogokit/money.rb', line 10

def currency_code
  @currency_code
end

#displayObject

Returns the value of attribute display.



10
11
12
# File 'lib/gogokit/money.rb', line 10

def display
  @display
end