Class: Paratrooper::Notifier

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

Overview

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

All notifiers should inherit from this class

Direct Known Subclasses

Paratrooper::Notifiers::ScreenNotifier

Instance Method Summary collapse

Instance Method Details

#activate_maintenance_mode(options = {}) ⇒ Object



17
# File 'lib/paratrooper/notifier.rb', line 17

def activate_maintenance_mode(options = {}); end

#app_restart(options = {}) ⇒ Object



22
# File 'lib/paratrooper/notifier.rb', line 22

def app_restart(options = {}); end

#deactivate_maintenance_mode(options = {}) ⇒ Object



18
# File 'lib/paratrooper/notifier.rb', line 18

def deactivate_maintenance_mode(options = {}); end

#notify(step_name, options = {}) ⇒ Object



8
9
10
# File 'lib/paratrooper/notifier.rb', line 8

def notify(step_name, options = {})
  self.send(step_name, options)
end

#push_repo(options = {}) ⇒ Object



20
# File 'lib/paratrooper/notifier.rb', line 20

def push_repo(options = {}); end

#run_migrations(options = {}) ⇒ Object



21
# File 'lib/paratrooper/notifier.rb', line 21

def run_migrations(options = {}); end

#setup(options = {}) ⇒ Object

To create your own notifier override the following methods.



16
# File 'lib/paratrooper/notifier.rb', line 16

def setup(options = {}); end

#teardown(options = {}) ⇒ Object



24
# File 'lib/paratrooper/notifier.rb', line 24

def teardown(options = {}); end

#update_repo_tag(options = {}) ⇒ Object



19
# File 'lib/paratrooper/notifier.rb', line 19

def update_repo_tag(options = {}); end

#warm_instance(options = {}) ⇒ Object



23
# File 'lib/paratrooper/notifier.rb', line 23

def warm_instance(options = {}); end