Class: Stable::Commands::Stop

Inherits:
Object
  • Object
show all
Defined in:
lib/stable/commands/stop.rb

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Stop

Returns a new instance of Stop.



6
7
8
# File 'lib/stable/commands/stop.rb', line 6

def initialize(name)
  @name = name
end

Instance Method Details

#callObject



10
11
12
# File 'lib/stable/commands/stop.rb', line 10

def call
  Services::AppStopper.new(@name).call
end