Class: DeploymentNotifications::Notifier

Inherits:
Object
  • Object
show all
Defined in:
lib/deployment_notifications.rb,
lib/deployment_notifications/notifier.rb

Class Method Summary collapse

Class Method Details

.setup_slackistranoObject



6
7
8
9
10
11
12
13
# File 'lib/deployment_notifications/notifier.rb', line 6

def self.setup_slackistrano
  Slackistrano.configure do |config|
    config.channel = DeploymentNotifier.channel
    config.webhook = DeploymentNotifier.webhook

    config.messaging = Slackistrano::DeploymentMessaging
  end
end