Class: Neetob::CLI::Heroku::Commands

Inherits:
Thor
  • Object
show all
Defined in:
lib/neetob/cli/heroku/commands.rb

Instance Method Summary collapse

Instance Method Details

#autoscaling_configObject



37
38
39
# File 'lib/neetob/cli/heroku/commands.rb', line 37

def autoscaling_config
  AutoscalingConfig.new(options[:app]).process
end

#executeObject



19
20
21
# File 'lib/neetob/cli/heroku/commands.rb', line 19

def execute
  Execute.new(options[:apps], options[:command], options[:rails], options[:sandbox]).process
end

#maintenance_windowObject



43
44
45
# File 'lib/neetob/cli/heroku/commands.rb', line 43

def maintenance_window
  MaintenanceWindow.new(options[:app]).process
end

#stackObject



31
32
33
# File 'lib/neetob/cli/heroku/commands.rb', line 31

def stack
  Stack.new(options[:app]).process
end