Sha256: 15e5296192704e7f10df7370e87fbeffd79074bfea6389ff21d471ef52dfca48

Contents?: true

Size: 439 Bytes

Versions: 10

Compression:

Stored size: 439 Bytes

Contents

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
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
statesman-1.0.0 lib/statesman/adapters/memory_transition.rb
statesman-1.0.0.beta2 lib/statesman/adapters/memory_transition.rb
statesman-1.0.0.beta1 lib/statesman/adapters/memory_transition.rb
statesman-0.8.3 lib/statesman/adapters/memory_transition.rb
statesman-0.8.2 lib/statesman/adapters/memory_transition.rb
statesman-0.8.1 lib/statesman/adapters/memory_transition.rb
statesman-0.8.0 lib/statesman/adapters/memory_transition.rb
statesman-0.7.0 lib/statesman/adapters/memory_transition.rb
statesman-0.6.1 lib/statesman/adapters/memory_transition.rb
statesman-0.6.0 lib/statesman/adapters/memory_transition.rb