aasm/API

20 lines
320 B
Plaintext

Overwrite method to read the current state
class MyClass
include AASM
def aasm_read_state
# retrieve the current state manually
end
end
Overwrite method to write the current state
class MyClass
include AASM
def aasm_write_state
# store the current state manually
end
end