Module: Docomoru::DialogueMethods

Included in:
Client
Defined in:
lib/docomoru/dialogue_methods.rb

Constant Summary collapse

PATH =
"/dialogue/v1/dialogue"

Instance Method Summary collapse

Instance Method Details

#create_dialogue(message, params = {}, headers = {}) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/docomoru/dialogue_methods.rb', line 5

def create_dialogue(message, params = {}, headers = {})
  post(
    "#{PATH}?#{default_query_string}",
    params.merge(utt: message),
    headers,
  )
end