class Heroku::Command::Account

manage heroku account options

Public Instance Methods

confirm_billing() click to toggle source

account:#confirm_billing

Confirm that your account can be billed at the end of the month

# File lib/heroku/command/account.rb, line 13
def confirm_billing
  display(" This action will cause your account to be billed at the end of the month")
  display(" For more information, see http://docs.heroku.com/billing")
  display(" Are you sure you want to do this? (y/n) ", false)
  if ask.downcase == 'y'
    heroku.confirm_billing
    return true
  end
end