class Capistrano::Messaging::Telegram

Public Instance Methods

payload_for(action) click to toggle source
# File lib/capistrano/messaging/telegram.rb, line 31
def payload_for(action)
  method = "payload_for_#{action}"
  respond_to?(method) && send(method)
end
payload_for_failed() click to toggle source
# File lib/capistrano/messaging/telegram.rb, line 27
def payload_for_failed
  "#{deployer} has failed to #{deploying? ? 'deploy' : 'rollback'} branch #{branch} of #{application} to #{stage}"
end
payload_for_reverted() click to toggle source
# File lib/capistrano/messaging/telegram.rb, line 23
def payload_for_reverted
  "#{deployer} has finished rolling back branch of #{application} to #{stage}"
end
payload_for_reverting() click to toggle source
# File lib/capistrano/messaging/telegram.rb, line 15
def payload_for_reverting
  "#{deployer} has started rolling back branch `#{branch}` of #{application} to #{stage}"
end
payload_for_updated() click to toggle source
# File lib/capistrano/messaging/telegram.rb, line 19
def payload_for_updated
  "#{deployer} has finished deploying branch #{branch} of #{application} to #{stage}"
end
payload_for_updating() click to toggle source
# File lib/capistrano/messaging/telegram.rb, line 11
def payload_for_updating
  "#{deployer} has started deploying branch #{branch} of #{application} to #{stage}"
end