Class: Heroku::Command::Account

Inherits:
Base
  • Object
show all
Defined in:
lib/heroku/command/account.rb

Overview

manage heroku account options

Instance Attribute Summary

Attributes inherited from Base

#args, #options

Instance Method Summary collapse

Methods inherited from Base

#api, #app, #heroku, #initialize, namespace

Methods included from Helpers

#action, #ask, #confirm, #confirm_command, #create_git_remote, #deprecate, #display, #display_header, #display_object, #display_row, #display_table, #error, error_with_failure, error_with_failure=, extended, extended_into, #fail, #format_bytes, #format_date, #format_error, #format_with_bang, #get_terminal_environment, #git, #has_git?, #home_directory, #host_name, #hprint, #hputs, included, included_into, #json_decode, #json_encode, #launchy, #line_formatter, #longest, #output_with_bang, #quantify, #redisplay, #retry_on_exception, #run_command, #running_on_a_mac?, #running_on_windows?, #set_buffer, #shell, #spinner, #status, #string_distance, #styled_array, #styled_error, #styled_hash, #styled_header, #suggestion, #time_ago, #truncate, #with_tty

Constructor Details

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

Instance Method Details

#confirm_billingObject

account:confirm_billing

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

Example:

$ pogo account:confirm_billing This action will cause your account to be billed at the end of the month For more information, see docs.heroku.com/billing Are you sure you want to do this? (y/n)



18
19
20
21
# File 'lib/heroku/command/account.rb', line 18

def confirm_billing
  validate_arguments!
  Heroku::Helpers.confirm_billing
end