class Gantree::App

Public Class Methods

new(env, options) click to toggle source
# File lib/gantree/app.rb, line 6
def initialize env, options
  check_credentials
  set_aws_keys
  @env = env
end

Public Instance Methods

restart() click to toggle source
# File lib/gantree/app.rb, line 12
def restart
  eb.restart_app_server({ environment_name: "#{@env}" })
  puts "App is now restarting".green
end