backup/backup

View on GitHub
templates/cli/notifiers/slack

Summary

Maintainability
Test Coverage
  ##
  # Slack [Notifier]
  #
  notify_by Slack do |slack|
    slack.on_success = true
    slack.on_warning = true
    slack.on_failure = true

    # The incoming webhook url
    # https://hooks.slack.com/services/xxxxxxxx/xxxxxxxxx/xxxxxxxxxx
    slack.webhook_url = 'xxxxxxxxxxxxxxxxxxxxxxxx'


    ##
    # Optional
    #
    # The channel to which messages will be sent
    # slack.channel = 'my_channel'
    #
    # The username to display along with the notification
    # slack.username = 'my_username'
  end