Class: FeatureFlagger::ManifestSources::StorageOnly
- Inherits:
-
Object
- Object
- FeatureFlagger::ManifestSources::StorageOnly
- Defined in:
- lib/feature_flagger/manifest_sources/storage_only.rb
Instance Method Summary collapse
-
#initialize(storage) ⇒ StorageOnly
constructor
A new instance of StorageOnly.
- #resolved_info ⇒ Object
Constructor Details
#initialize(storage) ⇒ StorageOnly
4 5 6 |
# File 'lib/feature_flagger/manifest_sources/storage_only.rb', line 4 def initialize(storage) @storage = storage end |
Instance Method Details
#resolved_info ⇒ Object
8 9 10 |
# File 'lib/feature_flagger/manifest_sources/storage_only.rb', line 8 def resolved_info YAML.load(@storage.read_manifest_backup) end |