Class: Stigg::Sidecar::ApiConfig
- Inherits:
-
Object
- Object
- Stigg::Sidecar::ApiConfig
- Defined in:
- lib/stigg_sidecar_sdk/client.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.
-
#edge_api_url ⇒ Object
readonly
Returns the value of attribute edge_api_url.
-
#edge_enabled ⇒ Object
readonly
Returns the value of attribute edge_enabled.
-
#request_timeout ⇒ Object
readonly
Returns the value of attribute request_timeout.
Instance Method Summary collapse
- #initialize(api_key, api_url: nil, edge_enabled: nil, edge_api_url: nil, request_timeout: nil) ⇒ ApiConfig constructor
Constructor Details
#initialize(api_key, api_url: nil, edge_enabled: nil, edge_api_url: nil, request_timeout: nil) ⇒ ApiConfig
15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/stigg_sidecar_sdk/client.rb', line 15 def initialize(api_key, api_url: nil, edge_enabled: nil, edge_api_url: nil, request_timeout: nil) @api_key = api_key @api_url = api_url @edge_enabled = edge_enabled @edge_api_url = edge_api_url @request_timeout = request_timeout end |
Instance Attribute Details
#api_key ⇒ Object (readonly)
Returns the value of attribute api_key.
8 9 10 |
# File 'lib/stigg_sidecar_sdk/client.rb', line 8 def api_key @api_key end |
#api_url ⇒ Object (readonly)
Returns the value of attribute api_url.
8 9 10 |
# File 'lib/stigg_sidecar_sdk/client.rb', line 8 def api_url @api_url end |
#edge_api_url ⇒ Object (readonly)
Returns the value of attribute edge_api_url.
8 9 10 |
# File 'lib/stigg_sidecar_sdk/client.rb', line 8 def edge_api_url @edge_api_url end |
#edge_enabled ⇒ Object (readonly)
Returns the value of attribute edge_enabled.
8 9 10 |
# File 'lib/stigg_sidecar_sdk/client.rb', line 8 def edge_enabled @edge_enabled end |
#request_timeout ⇒ Object (readonly)
Returns the value of attribute request_timeout.
8 9 10 |
# File 'lib/stigg_sidecar_sdk/client.rb', line 8 def request_timeout @request_timeout end |