mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
11 lines
172 B
Ruby
11 lines
172 B
Ruby
class SimpleMongoMapper
|
|
include MongoMapper::Document
|
|
include AASM
|
|
|
|
key :status, String
|
|
|
|
aasm column: :status do
|
|
state :unknown_scope
|
|
state :next
|
|
end
|
|
end
|