Class: GogoKit::Money
- Inherits:
-
Object
- Object
- GogoKit::Money
- Defined in:
- lib/gogokit/money.rb
Overview
Returned for monetary values, such as ticket prices, fees charged and tax amounts.
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#currency_code ⇒ Object
Returns the value of attribute currency_code.
-
#display ⇒ Object
Returns the value of attribute display.
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
10 11 12 |
# File 'lib/gogokit/money.rb', line 10 def amount @amount end |
#currency_code ⇒ Object
Returns the value of attribute currency_code.
10 11 12 |
# File 'lib/gogokit/money.rb', line 10 def currency_code @currency_code end |
#display ⇒ Object
Returns the value of attribute display.
10 11 12 |
# File 'lib/gogokit/money.rb', line 10 def display @display end |