Created
December 24, 2016 19:14
-
-
Save bleonard/b6685bb6f293c7ce0702c24c26ae8f6d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
subscribe "any_id_i_want", "bus_event_type" => "task_changed", "state" => "opened" do |attributes| | |
TaskIndex.write(attributes["id"]) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment