Class: WitBot::MessageRequest

Inherits:
WitRequest show all
Defined in:
lib/wit_bot/requests/message_request.rb

Instance Method Summary collapse

Methods inherited from WitRequest

#http

Instance Method Details

#request(message, n) ⇒ Object



3
4
5
# File 'lib/wit_bot/requests/message_request.rb', line 3

def request(message, n)
  super http.get('/message', params: message.params(n: n))
end