Class: Dployr::Scripts::Hook

Inherits:
Object
  • Object
show all
Defined in:
lib/dployr/scripts/hook.rb

Instance Method Summary collapse

Constructor Details

#initialize(ip, instance, stage) ⇒ Hook

Returns a new instance of Hook.



5
6
7
8
9
10
# File 'lib/dployr/scripts/hook.rb', line 5

def initialize(ip, instance, stage)
  @ip = ip
  @instance = instance
  @stage = stage
  run
end