class Paratrooper::Notifier

Public: Shell object with methods to be overridden by other notifiers

All notifiers should inherit from this class

Public Instance Methods

activate_maintenance_mode(options = {}) click to toggle source
# File lib/paratrooper/notifier.rb, line 17
def activate_maintenance_mode(options = {}); end
app_restart(options = {}) click to toggle source
# File lib/paratrooper/notifier.rb, line 22
def app_restart(options = {}); end
deactivate_maintenance_mode(options = {}) click to toggle source
# File lib/paratrooper/notifier.rb, line 18
def deactivate_maintenance_mode(options = {}); end
notify(step_name, options = {}) click to toggle source
# File lib/paratrooper/notifier.rb, line 8
def notify(step_name, options = {})
  self.send(step_name, options)
end
push_repo(options = {}) click to toggle source
# File lib/paratrooper/notifier.rb, line 20
def push_repo(options = {}); end
run_migrations(options = {}) click to toggle source
# File lib/paratrooper/notifier.rb, line 21
def run_migrations(options = {}); end
setup(options = {}) click to toggle source

To create your own notifier override the following methods.

# File lib/paratrooper/notifier.rb, line 16
def setup(options = {}); end
teardown(options = {}) click to toggle source
# File lib/paratrooper/notifier.rb, line 24
def teardown(options = {}); end
update_repo_tag(options = {}) click to toggle source
# File lib/paratrooper/notifier.rb, line 19
def update_repo_tag(options = {}); end
warm_instance(options = {}) click to toggle source
# File lib/paratrooper/notifier.rb, line 23
def warm_instance(options = {}); end