Class: Charyf::Engine::Request

Inherits:
Object
  • Object
show all
Defined in:
lib/charyf/engine/request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, message_id)
  @referer = referer
  @conversation_id = conversation_id
  @message_id = message_id
end

Instance Attribute Details

#conversation_idObject (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_idObject (readonly)

Returns the value of attribute message_id.



7
8
9
# File 'lib/charyf/engine/request.rb', line 7

def message_id
  @message_id
end

#refererObject (readonly)

Returns the value of attribute referer.



7
8
9
# File 'lib/charyf/engine/request.rb', line 7

def referer
  @referer
end

#textObject

Returns the value of attribute text.



5
6
7
# File 'lib/charyf/engine/request.rb', line 5

def text
  @text
end