Sha256: 1b89690b43d5862f4b1ed1f5bef36dce3d4ab350a77d8cd3714a4ebd04816bb6

Contents?: true

Size: 333 Bytes

Versions: 24

Compression:

Stored size: 333 Bytes

Contents

class DynamoidMultiple
  include Dynamoid::Document
  include AASM

  field :status

  attr_accessor :default

  aasm :left, :column => :status
  aasm :left do
    state :alpha, :initial => true
    state :beta
    state :gamma
    event :release do
      transitions :from => [:alpha, :beta, :gamma], :to => :beta
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
aasm-5.3.1 spec/models/dynamoid/dynamoid_multiple.rb
aasm-5.3.0 spec/models/dynamoid/dynamoid_multiple.rb
aasm-5.2.0 spec/models/dynamoid/dynamoid_multiple.rb
aasm-5.1.1 spec/models/dynamoid/dynamoid_multiple.rb
aasm-5.1.0 spec/models/dynamoid/dynamoid_multiple.rb
aasm-5.0.8 spec/models/dynamoid/dynamoid_multiple.rb
aasm-5.0.7 spec/models/dynamoid/dynamoid_multiple.rb
aasm-5.0.6 spec/models/dynamoid/dynamoid_multiple.rb
aasm-5.0.5 spec/models/dynamoid/dynamoid_multiple.rb
aasm-5.0.4 spec/models/dynamoid/dynamoid_multiple.rb
aasm-5.0.3 spec/models/dynamoid/dynamoid_multiple.rb
aasm-5.0.2 spec/models/dynamoid/dynamoid_multiple.rb
aasm-5.0.1 spec/models/dynamoid/dynamoid_multiple.rb
aasm-5.0.0 spec/models/dynamoid/dynamoid_multiple.rb
aasm-4.12.3 spec/models/dynamoid/dynamoid_multiple.rb
aasm-4.12.2 spec/models/dynamoid/dynamoid_multiple.rb
aasm-4.12.1 spec/models/dynamoid/dynamoid_multiple.rb
aasm-4.12.0 spec/models/dynamoid/dynamoid_multiple.rb
aasm-4.11.1 spec/models/dynamoid/dynamoid_multiple.rb
aasm-4.11.0 spec/models/dynamoid/dynamoid_multiple.rb