Class: BalihooLpcClient::Request::Authentication
- Defined in:
- lib/balihoo_lpc_client/request/authentication.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from BalihooLpcClient::Request::Base
Instance Method Details
#authenticate! ⇒ Object
4 5 6 7 8 |
# File 'lib/balihoo_lpc_client/request/authentication.rb', line 4 def authenticate! response = self.class.post('/genClientAPIKey', opts).parsed_response handle_errors_with(klass: AuthenticationError, response: response) handle_success(response: response) end |