Class: Bizflow::SemanticModel::Task
- Inherits:
-
Object
- Object
- Bizflow::SemanticModel::Task
- Defined in:
- lib/bizflow/semantic_model/task.rb
Instance Attribute Summary collapse
-
#auto_assign ⇒ Object
Returns the value of attribute auto_assign.
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#roles ⇒ Object
Returns the value of attribute roles.
Instance Method Summary collapse
-
#initialize(name, options = {}) ⇒ Task
constructor
A new instance of Task.
Constructor Details
#initialize(name, options = {}) ⇒ Task
Returns a new instance of Task.
8 9 10 11 12 13 |
# File 'lib/bizflow/semantic_model/task.rb', line 8 def initialize(name, = {}) @name = name @roles = [:roles] @description = [:description] @auto_assign = [:auto_assign] || false end |
Instance Attribute Details
#auto_assign ⇒ Object
Returns the value of attribute auto_assign.
6 7 8 |
# File 'lib/bizflow/semantic_model/task.rb', line 6 def auto_assign @auto_assign end |
#description ⇒ Object
Returns the value of attribute description.
6 7 8 |
# File 'lib/bizflow/semantic_model/task.rb', line 6 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/bizflow/semantic_model/task.rb', line 6 def name @name end |
#roles ⇒ Object
Returns the value of attribute roles.
6 7 8 |
# File 'lib/bizflow/semantic_model/task.rb', line 6 def roles @roles end |