Class: Moult::Flags::Snapshot::FlagState
- Inherits:
-
Struct
- Object
- Struct
- Moult::Flags::Snapshot::FlagState
- Defined in:
- lib/moult/flags/snapshot.rb
Overview
The provider's normalised state for one flag key. +enabled+/+archived+/
has_targeting are the facts Moult::Flags::Staleness judges; default_variant and
updated_at are captured for context and the deferred time-decay seed.
Instance Attribute Summary collapse
-
#archived ⇒ Object
Returns the value of attribute archived.
-
#default_variant ⇒ Object
Returns the value of attribute default_variant.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#has_targeting ⇒ Object
Returns the value of attribute has_targeting.
-
#key ⇒ Object
Returns the value of attribute key.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
Instance Attribute Details
#archived ⇒ Object
Returns the value of attribute archived
55 56 57 |
# File 'lib/moult/flags/snapshot.rb', line 55 def archived @archived end |
#default_variant ⇒ Object
Returns the value of attribute default_variant
55 56 57 |
# File 'lib/moult/flags/snapshot.rb', line 55 def default_variant @default_variant end |
#enabled ⇒ Object
Returns the value of attribute enabled
55 56 57 |
# File 'lib/moult/flags/snapshot.rb', line 55 def enabled @enabled end |
#has_targeting ⇒ Object
Returns the value of attribute has_targeting
55 56 57 |
# File 'lib/moult/flags/snapshot.rb', line 55 def has_targeting @has_targeting end |
#key ⇒ Object
Returns the value of attribute key
55 56 57 |
# File 'lib/moult/flags/snapshot.rb', line 55 def key @key end |
#updated_at ⇒ Object
Returns the value of attribute updated_at
55 56 57 |
# File 'lib/moult/flags/snapshot.rb', line 55 def updated_at @updated_at end |