Class: Messenger::Parameters::Postback
- Inherits:
-
Object
- Object
- Messenger::Parameters::Postback
- Includes:
- Callback
- Defined in:
- lib/messenger/parameters/postback.rb
Instance Attribute Summary collapse
-
#payload ⇒ Object
Returns the value of attribute payload.
Instance Method Summary collapse
-
#initialize(payload:) ⇒ Postback
constructor
A new instance of Postback.
Methods included from Callback
Constructor Details
#initialize(payload:) ⇒ Postback
Returns a new instance of Postback.
8 9 10 |
# File 'lib/messenger/parameters/postback.rb', line 8 def initialize(payload:) @payload = payload end |
Instance Attribute Details
#payload ⇒ Object
Returns the value of attribute payload.
6 7 8 |
# File 'lib/messenger/parameters/postback.rb', line 6 def payload @payload end |