Sha256: 205e8998d601bfe21ec30729f9bc3862d7b40ca3a571f1326204a640704a2c0e
Contents?: true
Size: 1 KB
Versions: 17
Compression:
Stored size: 1 KB
Contents
module Mihari module Notifiers class Slack < Base SLACK_WEBHOOK_URL_KEY: ::String SLACK_CHANNEL_KEY: ::String DEFAULT_USERNAME: ::String # # Slack channel to post # # @return [String] # def slack_channel: () -> String # # Slack webhook URL # # @return [String] # def slack_webhook_url: () -> String # # Check Slack webhook URL is set # # @return [Boolean] # def slack_webhook_url?: () -> bool # # Check Slack webhook URL is set. Alias of #slack_webhook_url?. # # @return [Boolean] # def valid?: () -> bool # # Send notification to Slack # # @param [String] text # @param [Array<Hash>] attachments # @param [Boolean] mrkdwn # # @return [nil] # def notify: (text: String text, ?attachments: Array[Hash[(String | Symbol), untyped]] attachments, ?mrkdwn: bool mrkdwn) -> untyped end end end
Version data entries
17 entries across 17 versions & 1 rubygems