examples/example1.rb in end_state-0.4.0 vs examples/example1.rb in end_state-0.9.0
- old
+ new
@@ -5,11 +5,11 @@
def will_allow?
true
end
end
-class NoOp < EndState::Finalizer
+class NoOp < EndState::Concluder
def call
true
end
def rollback
@@ -33,10 +33,10 @@
t.custom_action CustomAction
t.persistence_on
end
transition [:b, :c] => :a do |t|
- t.finalizer NoOp, not_very_important_param: 'Ignore me'
+ t.concluder NoOp, not_very_important_param: 'Ignore me'
t.persistence_on
end
end
class StatefulObject