Class: Isono::ResourceManifest::StateItem
- Inherits:
-
Object
- Object
- Isono::ResourceManifest::StateItem
- Defined in:
- lib/isono/resource_manifest.rb
Instance Attribute Summary collapse
-
#on_command ⇒ Object
readonly
Returns the value of attribute on_command.
-
#on_event ⇒ Object
readonly
Returns the value of attribute on_event.
-
#task ⇒ Object
Returns the value of attribute task.
Instance Method Summary collapse
-
#initialize ⇒ StateItem
constructor
A new instance of StateItem.
Constructor Details
#initialize ⇒ StateItem
Returns a new instance of StateItem.
165 166 167 168 169 |
# File 'lib/isono/resource_manifest.rb', line 165 def initialize() @task = nil @on_event = {} @on_command = {} end |
Instance Attribute Details
#on_command ⇒ Object (readonly)
Returns the value of attribute on_command.
163 164 165 |
# File 'lib/isono/resource_manifest.rb', line 163 def on_command @on_command end |
#on_event ⇒ Object (readonly)
Returns the value of attribute on_event.
163 164 165 |
# File 'lib/isono/resource_manifest.rb', line 163 def on_event @on_event end |
#task ⇒ Object
Returns the value of attribute task.
162 163 164 |
# File 'lib/isono/resource_manifest.rb', line 162 def task @task end |