Class: Kairos::Client::Base
- Includes:
- Recognition, Utils
- Defined in:
- lib/kairos/client/base.rb
Constant Summary
Constants included from Utils
Instance Attribute Summary collapse
-
#app_id ⇒ Object
Returns the value of attribute app_id.
-
#app_key ⇒ Object
Returns the value of attribute app_key.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ Base
constructor
A new instance of Base.
Methods included from Recognition
Methods included from Utils
#api_crendential, #make_request, #user_auth_param
Constructor Details
#initialize(opts = {}) ⇒ Base
Returns a new instance of Base.
38 39 40 41 |
# File 'lib/kairos/client/base.rb', line 38 def initialize(opts={}) opts.assert_valid_keys(:app_id, :app_key) @app_id, @app_key = opts[:app_id], opts[:app_key] end |