Class: Heroku::Command::Account
- Defined in:
- lib/heroku/commands/account.rb
Instance Attribute Summary
Attributes inherited from Base
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
#confirm_billing ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'lib/heroku/commands/account.rb', line 3 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 |