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.



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_immediatelyObject

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_columnObject

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