Created
December 24, 2016 19:12
-
-
Save bleonard/210522f87072173199adf5612746d0ec 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 "task_changed" do |attributes| | |
if attributes["state"] == 'opened' | |
TaskIndex.write(attributes["id"]) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment