lib/statesman/adapters/memory_transition.rb in statesman-0.5.0 vs lib/statesman/adapters/memory_transition.rb in statesman-0.6.0
- old
+ new
@@ -1,14 +1,16 @@
module Statesman
module Adapters
class MemoryTransition
attr_accessor :created_at
+ attr_accessor :updated_at
attr_accessor :to_state
attr_accessor :sort_key
attr_accessor :metadata
def initialize(to, sort_key, metadata = nil)
@created_at = Time.now
+ @updated_at = Time.now
@to_state = to
@sort_key = sort_key
@metadata = metadata
end
end