Class: Messenger::Elements::Adjustment

Inherits:
Components::Element show all
Defined in:
lib/messenger/components/elements/receipt/adjustment.rb

Instance Method Summary collapse

Methods inherited from Components::Element

#build

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