Module: LaunchDarkly::Interfaces::DataSystem::ReadOnlyStore
- Defined in:
- lib/ldclient-rb/interfaces/data_system.rb
Overview
ReadOnlyStore represents a read-only store interface for retrieving data.
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
-
#all(kind) ⇒ Hash
Retrieves all items of a given kind.
-
#get(kind, key) ⇒ Hash?
Retrieves an item by kind and key.
-
#initialized? ⇒ Boolean
Returns whether the store has been initialized.
Instance Method Details
#all(kind) ⇒ Hash
Retrieves all items of a given kind.
670 671 672 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 670 def all(kind) raise NotImplementedError, "#{self.class} must implement #all" end |
#get(kind, key) ⇒ Hash?
Retrieves an item by kind and key.
660 661 662 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 660 def get(kind, key) raise NotImplementedError, "#{self.class} must implement #get" end |
#initialized? ⇒ Boolean
Returns whether the store has been initialized.
679 680 681 |
# File 'lib/ldclient-rb/interfaces/data_system.rb', line 679 def initialized? raise NotImplementedError, "#{self.class} must implement #initialized?" end |