Module: LaunchDarkly::Interfaces::DataSystem::Initializer
- Defined in:
- lib/ldclient-rb/interfaces/data_system.rb
Overview
Initializer represents a component capable of retrieving a single data result.
This type is not stable, and not subject to any backwards compatibility guarantees or semantic versioning. It is not suitable for production usage.
Do not use it. You have been warned.
Instance Method Summary collapse
-
#fetch(selector_store) ⇒ LaunchDarkly::Result<Basis, String>
Retrieves the initial data set for the data source.
-
#name ⇒ String
Returns the name of the initializer.
Instance Method Details
#fetch(selector_store) ⇒ LaunchDarkly::Result<Basis, String>
Retrieves the initial data set for the data source.
709 710 711 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 709 def fetch(selector_store) raise NotImplementedError, "#{self.class} must implement #fetch" end |
#name ⇒ String
Returns the name of the initializer.
699 700 701 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 699 def name raise NotImplementedError, "#{self.class} must implement #name" end |