Module: Connect::HTTPService::BotApi

Includes:
Request
Included in:
Rest
Defined in:
lib/connect/http_service/bot_api.rb

Constant Summary

Constants included from Connection

Connection::BASE_URL

Instance Method Summary collapse

Methods included from Request

#get, #post

Methods included from Connection

#connection

Instance Method Details

#appoint_spec(options) ⇒ Object



14
15
16
17
18
19
20
# File 'lib/connect/http_service/bot_api.rb', line 14

def appoint_spec(options)
  post(
    'v1/line/appoint/spec',
    self,
    options
  )
end

#appoint_start(options) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/connect/http_service/bot_api.rb', line 6

def appoint_start(options)
  post(
    'v1/line/appoint/start',
    self,
    options
  )
end

#drop_keyboard(options) ⇒ Object



38
39
40
41
42
43
44
# File 'lib/connect/http_service/bot_api.rb', line 38

def drop_keyboard(options)
  post(
    'v1/line/drop/keyboard',
    self,
    options
  )
end

#drop_treatment(options) ⇒ Object



22
23
24
25
26
27
28
# File 'lib/connect/http_service/bot_api.rb', line 22

def drop_treatment(options)
  post(
    'v1/line/drop/treatment',
    self,
    options
  )
end

#send_message_colleague(options) ⇒ Object



46
47
48
49
50
51
52
# File 'lib/connect/http_service/bot_api.rb', line 46

def send_message_colleague(options)
  post(
    'v1/colleague/send/message',
    self,
    options
  )
end

#send_message_conference(options) ⇒ Object



54
55
56
57
58
59
60
# File 'lib/connect/http_service/bot_api.rb', line 54

def send_message_conference(options)
  post(
    'v1/conference/send/message',
    self,
    options
  )
end

#send_message_line(options) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/connect/http_service/bot_api.rb', line 30

def send_message_line(options)
  post(
    'v1/line/send/message',
    self,
    options
  )
end