Class: FeatureHub::Sdk::EdgeService
- Inherits:
-
Object
- Object
- FeatureHub::Sdk::EdgeService
- Defined in:
- lib/feature_hub/sdk/feature_hub_config.rb
Overview
interface style definition for all edge services
Direct Known Subclasses
Instance Attribute Summary collapse
-
#repository ⇒ Object
readonly
Returns the value of attribute repository.
Instance Method Summary collapse
-
#close ⇒ Object
abstract.
-
#context_change(new_header) ⇒ Object
abstract.
-
#initialize(repository, api_keys, edge_url, logger = nil) ⇒ EdgeService
constructor
A new instance of EdgeService.
-
#poll ⇒ Object
abstract.
Constructor Details
#initialize(repository, api_keys, edge_url, logger = nil) ⇒ EdgeService
Returns a new instance of EdgeService.
9 10 11 12 13 14 |
# File 'lib/feature_hub/sdk/feature_hub_config.rb', line 9 def initialize(repository, api_keys, edge_url, logger = nil) @repository = repository @api_keys = api_keys @edge_url = edge_url @logger = logger end |
Instance Attribute Details
#repository ⇒ Object (readonly)
Returns the value of attribute repository.
7 8 9 |
# File 'lib/feature_hub/sdk/feature_hub_config.rb', line 7 def repository @repository end |
Instance Method Details
#close ⇒ Object
abstract
23 |
# File 'lib/feature_hub/sdk/feature_hub_config.rb', line 23 def close; end |
#context_change(new_header) ⇒ Object
abstract
20 |
# File 'lib/feature_hub/sdk/feature_hub_config.rb', line 20 def context_change(new_header) end |
#poll ⇒ Object
abstract
17 |
# File 'lib/feature_hub/sdk/feature_hub_config.rb', line 17 def poll; end |