Class: Mocodo::LanguageAnalysis::Shortsum

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

Constant Summary collapse

EndPoint =
"/gooLanguageAnalysisCorp/v1/shortsum"

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

#sum(options = {}) ⇒ Object



33
34
35
# File 'lib/mocodo/goo_language_analysis.rb', line 33

def sum(options={})
  post(build_url(EndPoint), options.to_json, {'Content-Type' =>'application/json'})
end