Class: Charyf::Engine::Request
Instance Attribute Summary collapse
-
#conversation_id ⇒ Object
readonly
Returns the value of attribute conversation_id.
-
#message_id ⇒ Object
readonly
Returns the value of attribute message_id.
-
#referer ⇒ Object
readonly
Returns the value of attribute referer.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(referer, conversation_id, message_id) ⇒ Request
constructor
Module -> anything of type Charyf::Interface::Base sig [‘Module’, ‘String’], nil,.
Constructor Details
#initialize(referer, conversation_id, message_id) ⇒ Request
Module -> anything of type Charyf::Interface::Base sig [‘Module’, ‘String’], nil,
12 13 14 15 16 |
# File 'lib/charyf/engine/request.rb', line 12 def initialize(referer, conversation_id, ) @referer = referer @conversation_id = conversation_id @message_id = end |
Instance Attribute Details
#conversation_id ⇒ Object (readonly)
Returns the value of attribute conversation_id.
7 8 9 |
# File 'lib/charyf/engine/request.rb', line 7 def conversation_id @conversation_id end |
#message_id ⇒ Object (readonly)
Returns the value of attribute message_id.
7 8 9 |
# File 'lib/charyf/engine/request.rb', line 7 def @message_id end |
#referer ⇒ Object (readonly)
Returns the value of attribute referer.
7 8 9 |
# File 'lib/charyf/engine/request.rb', line 7 def referer @referer end |
#text ⇒ Object
Returns the value of attribute text.
5 6 7 |
# File 'lib/charyf/engine/request.rb', line 5 def text @text end |