Class: Messenger::Parameters::QuickReply

Inherits:
Object
  • Object
show all
Defined in:
lib/messenger/parameters/quick_reply.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#payloadObject

Returns the value of attribute payload.



4
5
6
# File 'lib/messenger/parameters/quick_reply.rb', line 4

def payload
  @payload
end