Created
September 11, 2018 10:27
-
-
Save rafaels88/bfe1e38c09026a15c0c8e97f6a257653 to your computer and use it in GitHub Desktop.
Quiqup - Opus Quiqup.DispatchOrderStagePipeline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule Quiqup.DispatchOrderStagePipeline do | |
use Opus.Pipeline | |
check :validate_order | |
step :assign_next_stage_slug | |
step :assign_courier | |
check :courier_available? | |
step :persist_stage | |
link PushNotificationPipeline | |
tee :emit_event | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment