Class: ConvenientService::Feature::Plugins::CanHaveStubbedEntries::Commands::FetchFeatureStubbedEntriesCache
- Inherits:
-
Support::Command
- Object
- Support::Command
- ConvenientService::Feature::Plugins::CanHaveStubbedEntries::Commands::FetchFeatureStubbedEntriesCache
- Defined in:
- lib/convenient_service/feature/plugins/can_have_stubbed_entries/commands/fetch_feature_stubbed_entries_cache.rb
Instance Attribute Summary collapse
-
#feature ⇒ Object
readonly
Returns the value of attribute feature.
Instance Method Summary collapse
Methods inherited from Support::Command
Constructor Details
#initialize(feature:) ⇒ void
24 25 26 |
# File 'lib/convenient_service/feature/plugins/can_have_stubbed_entries/commands/fetch_feature_stubbed_entries_cache.rb', line 24 def initialize(feature:) @feature = feature end |
Instance Attribute Details
#feature ⇒ Object (readonly)
Returns the value of attribute feature.
18 19 20 |
# File 'lib/convenient_service/feature/plugins/can_have_stubbed_entries/commands/fetch_feature_stubbed_entries_cache.rb', line 18 def feature @feature end |
Instance Method Details
#call ⇒ ConvenientService::Support::Cache
31 32 33 |
# File 'lib/convenient_service/feature/plugins/can_have_stubbed_entries/commands/fetch_feature_stubbed_entries_cache.rb', line 31 def call cache.scope(feature, backed_by: :thread_safe_hash) end |