Class: Workflow::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/workflow/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



5
6
7
8
# File 'lib/workflow/configuration.rb', line 5

def initialize
  self.persist_workflow_state_immediately = true
  self.touch_on_update_column = false
end

Instance Attribute Details

#persist_workflow_state_immediatelyObject

Returns the value of attribute persist_workflow_state_immediately.



3
4
5
# File 'lib/workflow/configuration.rb', line 3

def persist_workflow_state_immediately
  @persist_workflow_state_immediately
end

#touch_on_update_columnObject

Returns the value of attribute touch_on_update_column.



3
4
5
# File 'lib/workflow/configuration.rb', line 3

def touch_on_update_column
  @touch_on_update_column
end