Class: Shamu::Features::ListScope
- Inherits:
-
Entities::ListScope
- Object
- Entities::ListScope
- Shamu::Features::ListScope
- Defined in:
- lib/shamu/features/list_scope.rb
Overview
Select the features to be listed.
Attributes collapse
-
#prefix ⇒ String
Include toggles with a name that is prefixed with the given value.
-
#retired ⇒ Symbol
Only include toggles that have retired but are still configured.
-
#type ⇒ Symbol
The desired type of toggle.
Method Summary
Methods inherited from Entities::ListScope
coerce, coerce!, #except, for, #params
Methods included from Attributes::Validation
attribute, #valid?, #validated?
Methods included from Attributes::Assignment
#[]=, #assigned?, #assigned_attributes, attribute, #unassigned_attributes
Methods included from Attributes
#[], #assign_attributes, association, associations, attribute, #attribute?, attributes, #initialize, #set?, #slice, #to_attributes
Instance Attribute Details
#prefix ⇒ String
Returns include toggles with a name that is prefixed with the given value.
23 |
# File 'lib/shamu/features/list_scope.rb', line 23 attribute :prefix, coerce: :to_s |
#retired ⇒ Symbol
Returns only include toggles that have retired but are still configured.
18 |
# File 'lib/shamu/features/list_scope.rb', line 18 attribute :retired, coerce: :to_bool |