examples/advanced.rb in state_shifter-0.8.0 vs examples/advanced.rb in state_shifter-0.8.1

- old
+ new

@@ -39,18 +39,18 @@ event :organizer_confirmation_received => :notify_approved_users event :organizer_has_more_tickets => :running end state :notify_stakeholders do - on_entry :send_notification_to_stakeholders + on_entry :send_notification, :stakeholders, :organizers event :stakeholders_notified => :cancelled end state :cancelled state :notify_pending_users do - on_entry :send_notification_to_pending_users + on_entry :send_notification, :pending_users event :pending_users_notified => :finalized end state :notify_approved_users do on_entry :send_notification_to_approved_users @@ -77,9 +77,13 @@ benchmark from, to, trigger_event, duration end end ### + + def send_notification to + # + end def entries_deadline_reached? true end