Class: WatsonLanguage::IdentifiableLanguages

Inherits:
ActiveMethod::Base show all
Defined in:
lib/watson-language-translator/identifiable_languages.rb

Instance Attribute Summary

Attributes inherited from ActiveMethod::Base

#http_method, #json_result, #options, #password, #text, #username

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from ActiveMethod::Base

#fetch_http_method, #initialize, #params_addressable, #request

Methods included from Generators::LanguageRequest

#base_url_request, #json_parser, #rest_client_api

Methods inherited from ActiveMethod::Extra

add_response_field, #result

Constructor Details

This class inherits a constructor from WatsonLanguage::ActiveMethod::Base

Class Method Details

.fetchObject



5
6
7
# File 'lib/watson-language-translator/identifiable_languages.rb', line 5

def self.fetch
  self.new
end

Instance Method Details

#endpointObject



9
10
11
# File 'lib/watson-language-translator/identifiable_languages.rb', line 9

def endpoint
  "identifiable_languages"
end