Class: Capistrano::Fiesta::SlackDummy

Inherits:
Object
  • Object
show all
Defined in:
lib/capistrano/fiesta/slack_dummy.rb

Class Attribute Summary collapse

Instance Method Summary collapse

Class Attribute Details

.logObject

Returns the value of attribute log.



5
6
7
# File 'lib/capistrano/fiesta/slack_dummy.rb', line 5

def log
  @log
end

Instance Method Details

#post(params = {}) ⇒ Object



8
9
10
11
# File 'lib/capistrano/fiesta/slack_dummy.rb', line 8

def post(params = {})
  self.class.log = params
  Logger.warn "Install Slackistrano to announce releases on Slack"
end