Class: Messenger::Parameters::QuickReply
- Inherits:
-
Object
- Object
- Messenger::Parameters::QuickReply
- Defined in:
- lib/messenger/parameters/quick_reply.rb
Instance Attribute Summary collapse
-
#payload ⇒ Object
Returns the value of attribute payload.
Instance Method Summary collapse
-
#initialize(payload:) ⇒ QuickReply
constructor
A new instance of QuickReply.
Constructor Details
#initialize(payload:) ⇒ QuickReply
Returns a new instance of QuickReply.
6 7 8 |
# File 'lib/messenger/parameters/quick_reply.rb', line 6 def initialize(payload:) @payload = payload end |
Instance Attribute Details
#payload ⇒ Object
Returns the value of attribute payload.
4 5 6 |
# File 'lib/messenger/parameters/quick_reply.rb', line 4 def payload @payload end |