lib/lolcommits/plugin/slack.rb in lolcommits-slack-0.0.4 vs lib/lolcommits/plugin/slack.rb in lolcommits-slack-0.1.0
- old
+ new
@@ -9,22 +9,9 @@
# Number of times to retry if RestClient.post fails
RETRY_COUNT = 2
##
- # Returns position(s) of when this plugin should run during the capture
- # process.
- #
- # The lolcommit is posted to Slack when all proccessing has completed and
- # the capture is ready.
- #
- # @return [Array] the position [:capture_ready]
- #
- def self.runner_order
- [:capture_ready]
- end
-
- ##
# Capture ready hook, runs after lolcommits captures a snapshot.
#
# Uses `RestClient` to post the lolcommit image to (one or more) Slack
# channels. Posting will be retried (`RETRY_COUNT`) times if any error
# occurs.