Class: WatsonLanguage::ListModels
- Inherits:
-
ActiveMethod::Base
- Object
- ActiveMethod::Extra
- ActiveMethod::Base
- WatsonLanguage::ListModels
- Defined in:
- lib/watson-language-translator/list_models.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
Constructor Details
This class inherits a constructor from WatsonLanguage::ActiveMethod::Base
Class Method Details
.fetch ⇒ Object
5 6 7 |
# File 'lib/watson-language-translator/list_models.rb', line 5 def self.fetch self.new end |
Instance Method Details
#endpoint ⇒ Object
9 10 11 |
# File 'lib/watson-language-translator/list_models.rb', line 9 def endpoint "models" end |