class HerokuCLI::Maintenance

Maintenance status of app

Public Instance Methods

off() click to toggle source

take the app out of maintenance mode

# File lib/heroku_cli/maintenance.rb, line 10
def off
  heroku 'maintenance:off'
end
on() click to toggle source

put the app into maintenance mode

# File lib/heroku_cli/maintenance.rb, line 15
def on
  heroku 'maintenance:on'
end
status() click to toggle source

display the current maintenance status of app

# File lib/heroku_cli/maintenance.rb, line 5
def status
  heroku('maintenance').strip
end