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