Class: ApiAiRuby::EventRequest
- Inherits:
-
RequestQuery
- Object
- RequestQuery
- ApiAiRuby::EventRequest
- Defined in:
- lib/api-ai-ruby/request/event_request.rb
Instance Attribute Summary
Attributes inherited from RequestQuery
#client, #headers, #options, #request_method, #uri
Instance Method Summary collapse
Methods inherited from RequestQuery
Constructor Details
#initialize(client, options = {}) ⇒ ApiAiRuby::EventRequest
7 8 9 10 11 |
# File 'lib/api-ai-ruby/request/event_request.rb', line 7 def initialize (client, ={}) [:lang] = client.api_lang super client, @headers['Content-Type'] = 'application/json; charset=UTF-8' end |