Class: Workflow::Configuration
- Inherits:
-
Object
- Object
- Workflow::Configuration
- Defined in:
- lib/workflow/configuration.rb
Instance Attribute Summary collapse
-
#persist_workflow_state_immediately ⇒ Object
Returns the value of attribute persist_workflow_state_immediately.
-
#touch_on_update_column ⇒ Object
Returns the value of attribute touch_on_update_column.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 |
# File 'lib/workflow/configuration.rb', line 6 def initialize self.persist_workflow_state_immediately = true self.touch_on_update_column = false end |
Instance Attribute Details
#persist_workflow_state_immediately ⇒ Object
Returns the value of attribute persist_workflow_state_immediately.
4 5 6 |
# File 'lib/workflow/configuration.rb', line 4 def persist_workflow_state_immediately @persist_workflow_state_immediately end |
#touch_on_update_column ⇒ Object
Returns the value of attribute touch_on_update_column.
4 5 6 |
# File 'lib/workflow/configuration.rb', line 4 def touch_on_update_column @touch_on_update_column end |