Class: Abrupt::Service::Subject

Inherits:
Base show all
Defined in:
lib/abrupt/service/subject.rb

Overview

Readability service documentation see ‘wba.cs.hs-rm.de/AbRUPt/service/readability/’

Constant Summary collapse

SERVICE_URI =

TODO: outsource service uri to module Service

'http://wba.cs.hs-rm.de/AbRUPt/service/subject/'

Instance Attribute Summary

Attributes inherited from Base

#abbr, #options, #response, #url

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#execute, #initialize, keyname, transform_hash

Constructor Details

This class inherits a constructor from Abrupt::Service::Base

Class Method Details

.available_optionsObject



10
11
12
# File 'lib/abrupt/service/subject.rb', line 10

def self.available_options
  %w(lang word_limit depth)
end

Instance Method Details

#service_uriObject



14
15
16
# File 'lib/abrupt/service/subject.rb', line 14

def service_uri
  SERVICE_URI
end