Class: PersonalityInsights::Profile
- Inherits:
-
ActiveMethod::Base
- Object
- ActiveMethod::Extra
- ActiveMethod::Base
- PersonalityInsights::Profile
- Defined in:
- lib/watson-personality-insights/profile.rb
Instance Attribute Summary
Attributes inherited from ActiveMethod::Base
#accept, #accept_language, #content_language, #file, #json_result, #options, #password, #username
Instance Method Summary collapse
Methods inherited from ActiveMethod::Base
#get_profile, #initialize, #params_addressable, #request
Methods included from Generator::PersonalityRequest
#base_url_request, #create_request, #json_parser, #response, #uri_request_api
Methods inherited from ActiveMethod::Extra
Constructor Details
This class inherits a constructor from PersonalityInsights::ActiveMethod::Base
Instance Method Details
#endpoint ⇒ Object
12 13 14 15 16 |
# File 'lib/watson-personality-insights/profile.rb', line 12 def endpoint url = "v3/profile?" url << "#{params_addressable}" unless params_addressable.empty? url end |