Sha256: 6319d096594a03491105e978aa1e36b448210703707fa53418796b43da4f97f1

Contents?: true

Size: 376 Bytes

Versions: 6

Compression:

Stored size: 376 Bytes

Contents

module Statesman
  module Adapters
    class MemoryTransition
      attr_accessor :created_at
      attr_accessor :to_state
      attr_accessor :sort_key
      attr_accessor :metadata

      def initialize(to, sort_key, metadata = nil)
        @created_at = Time.now
        @to_state = to
        @sort_key = sort_key
        @metadata = metadata
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
statesman-0.5.0 lib/statesman/adapters/memory_transition.rb
statesman-0.4.0 lib/statesman/adapters/memory_transition.rb
statesman-0.3.0 lib/statesman/adapters/memory_transition.rb
statesman-0.2.1 lib/statesman/adapters/memory_transition.rb
statesman-0.2.0 lib/statesman/adapters/memory_transition.rb
statesman-0.1.0 lib/statesman/adapters/memory_transition.rb