Class: Messenger::Elements::Adjustment
- Inherits:
-
Components::Element
- Object
- Components::Element
- Messenger::Elements::Adjustment
- Defined in:
- lib/messenger/components/elements/receipt/adjustment.rb
Instance Method Summary collapse
-
#initialize(name: nil, amount: nil) ⇒ Adjustment
constructor
A new instance of Adjustment.
Methods inherited from Components::Element
Constructor Details
#initialize(name: nil, amount: nil) ⇒ Adjustment
Returns a new instance of Adjustment.
6 7 8 9 |
# File 'lib/messenger/components/elements/receipt/adjustment.rb', line 6 def initialize(name: nil, amount: nil) @name = name @amount = amount end |