Class: Ambient::ClientConfiguration
- Inherits:
-
Object
- Object
- Ambient::ClientConfiguration
- Defined in:
- lib/ambient/client_config.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
readonly
Returns the value of attribute api_key.
-
#api_url ⇒ Object
readonly
Returns the value of attribute api_url.
-
#app_key ⇒ Object
readonly
Returns the value of attribute app_key.
Instance Method Summary collapse
-
#initialize(api_key:, app_key:, api_url:) ⇒ ClientConfiguration
constructor
Creates a new Ambient Client.
Constructor Details
#initialize(api_key:, app_key:, api_url:) ⇒ ClientConfiguration
Creates a new Ambient Client
11 12 13 14 15 |
# File 'lib/ambient/client_config.rb', line 11 def initialize(api_key:, app_key:, api_url:) @api_key = api_key @app_key = app_key @api_url = api_url end |
Instance Attribute Details
#api_key ⇒ Object (readonly)
Returns the value of attribute api_key.
5 6 7 |
# File 'lib/ambient/client_config.rb', line 5 def api_key @api_key end |
#api_url ⇒ Object (readonly)
Returns the value of attribute api_url.
5 6 7 |
# File 'lib/ambient/client_config.rb', line 5 def api_url @api_url end |
#app_key ⇒ Object (readonly)
Returns the value of attribute app_key.
5 6 7 |
# File 'lib/ambient/client_config.rb', line 5 def app_key @app_key end |