Class: Mocodo::SentenceUnderstanding

Inherits:
Base
  • Object
show all
Defined in:
lib/mocodo/sentence_understanding.rb

Constant Summary collapse

EndPoint =
"/sentenceUnderstanding/v1/task"

Constants inherited from Base

Base::BaseURL

Instance Attribute Summary

Attributes inherited from Base

#api_key, #response

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Mocodo::Base

Instance Method Details

#sentenceUnderstanding(options = {}) ⇒ Object



4
5
6
# File 'lib/mocodo/sentence_understanding.rb', line 4

def sentenceUnderstanding(options={})
  post(build_url(EndPoint), options.to_json, {'Content-Type' =>'application/x-www-form-urlencoded'})
end