Class: Shanon::Clients::AuthenticationClient

Inherits:
AbstractClient show all
Defined in:
lib/shanon/clients/authentication_client.rb

Constant Summary collapse

PATH =
'/services/rest/authentication'.freeze

Instance Attribute Summary

Attributes inherited from AbstractClient

#conn, #secrets, #token

Instance Method Summary collapse

Methods inherited from AbstractClient

#initialize

Constructor Details

This class inherits a constructor from Shanon::AbstractClient

Instance Method Details

#getObject



6
7
8
9
10
# File 'lib/shanon/clients/authentication_client.rb', line 6

def get
  params = params_with_signature(password: secrets[:password])
  response = conn.get(PATH, params)
  response.body
end