Class: Unleash::Admin::Feature
- Inherits:
-
Object
- Object
- Unleash::Admin::Feature
- Defined in:
- lib/unleash/admin/feature.rb
Instance Attribute Summary collapse
-
#archived_at ⇒ Object
Returns the value of attribute archived_at.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#description ⇒ Object
Returns the value of attribute description.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#favorite ⇒ Object
Returns the value of attribute favorite.
-
#impression_data ⇒ Object
Returns the value of attribute impression_data.
-
#name ⇒ Object
Returns the value of attribute name.
-
#project ⇒ Object
Returns the value of attribute project.
-
#stale ⇒ Object
Returns the value of attribute stale.
Instance Method Summary collapse
-
#initialize(name, description, project, enabled, stale, favorite, impression_data, created_at, archived_at) ⇒ Feature
constructor
A new instance of Feature.
Constructor Details
#initialize(name, description, project, enabled, stale, favorite, impression_data, created_at, archived_at) ⇒ Feature
Returns a new instance of Feature.
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/unleash/admin/feature.rb', line 8 def initialize(name, description, project, enabled, stale, favorite, impression_data, created_at, archived_at) @name = name @description = description @project = project @enabled = enabled @stale = stale @favorite = favorite @impression_data = impression_data @created_at = created_at @archived_at = archived_at end |
Instance Attribute Details
#archived_at ⇒ Object
Returns the value of attribute archived_at.
6 7 8 |
# File 'lib/unleash/admin/feature.rb', line 6 def archived_at @archived_at end |
#created_at ⇒ Object
Returns the value of attribute created_at.
6 7 8 |
# File 'lib/unleash/admin/feature.rb', line 6 def created_at @created_at end |
#description ⇒ Object
Returns the value of attribute description.
6 7 8 |
# File 'lib/unleash/admin/feature.rb', line 6 def description @description end |
#enabled ⇒ Object
Returns the value of attribute enabled.
6 7 8 |
# File 'lib/unleash/admin/feature.rb', line 6 def enabled @enabled end |
#favorite ⇒ Object
Returns the value of attribute favorite.
6 7 8 |
# File 'lib/unleash/admin/feature.rb', line 6 def favorite @favorite end |
#impression_data ⇒ Object
Returns the value of attribute impression_data.
6 7 8 |
# File 'lib/unleash/admin/feature.rb', line 6 def impression_data @impression_data end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/unleash/admin/feature.rb', line 6 def name @name end |
#project ⇒ Object
Returns the value of attribute project.
6 7 8 |
# File 'lib/unleash/admin/feature.rb', line 6 def project @project end |
#stale ⇒ Object
Returns the value of attribute stale.
6 7 8 |
# File 'lib/unleash/admin/feature.rb', line 6 def stale @stale end |