Class: Heroku::Command::Service

Inherits:
Base
  • Object
show all
Defined in:
lib/heroku/commands/service.rb

Instance Attribute Summary

Attributes inherited from Base

#args, #autodetected_app

Instance Method Summary collapse

Methods inherited from Base

#app_urls, #ask, #display, #error, #escape, #extract_app, #extract_app_in_dir, #extract_option, #format_date, #git_remotes, #git_url, #heroku, #initialize, #shell, #web_url

Methods included from Helpers

#home_directory, #running_on_a_mac?, #running_on_windows?

Constructor Details

This class inherits a constructor from Heroku::Command::Base

Instance Method Details

#bounceObject



15
16
17
# File 'lib/heroku/commands/service.rb', line 15

def bounce
	error "heroku service:bounce is defunct.  Use heroku restart instead."
end

#downObject



11
12
13
# File 'lib/heroku/commands/service.rb', line 11

def down
	error "heroku service:down is defunct.  Use heroku workers -1 instead."
end

#startObject



3
4
5
# File 'lib/heroku/commands/service.rb', line 3

def start
	error "heroku service:start is defunct.  Use heroku workers +1 instead."
end

#statusObject



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

def status
	error "heroku service:status is defunct.  Use heroku ps instead."
end

#upObject



7
8
9
# File 'lib/heroku/commands/service.rb', line 7

def up
	error "heroku service:up is defunct.  Use heroku workers +1 instead."
end