Skip to content

Latest commit

 

History

History
19 lines (9 loc) · 437 Bytes

slack.md

File metadata and controls

19 lines (9 loc) · 437 Bytes

Slack Delivery Method

Sends a Slack notification via webhook.

deliver_by :slack

Options
  • format: :format_for_slack - Optional

    Use a custom method to define the payload sent to Slack. Method should return a Hash.

  • url: :url_for_slack - Optional

    Use a custom method to retrieve the Slack Webhook URL. Method should return a String.

    Defaults to Rails.application.credentials.slack[:notification_url]