Class: Clamp::Analytics::Money
- Inherits:
-
Struct
- Object
- Struct
- Clamp::Analytics::Money
- Defined in:
- lib/clamp_analytics/money.rb
Overview
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#currency ⇒ Object
Returns the value of attribute currency.
Instance Method Summary collapse
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount
14 15 16 |
# File 'lib/clamp_analytics/money.rb', line 14 def amount @amount end |
#currency ⇒ Object
Returns the value of attribute currency
14 15 16 |
# File 'lib/clamp_analytics/money.rb', line 14 def currency @currency end |
Instance Method Details
#to_wire ⇒ Object
15 16 17 |
# File 'lib/clamp_analytics/money.rb', line 15 def to_wire { amount: amount, currency: currency } end |