Class: Heroku::Command::Update
- Defined in:
- lib/heroku/command/update.rb
Overview
update the heroku client
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#beta ⇒ Object
update:beta.
-
#index ⇒ Object
update.
Methods inherited from Base
#api, #app, #heroku, #initialize, namespace
Methods included from Helpers
#action, #ask, #confirm, #confirm_billing, #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
#beta ⇒ Object
update:beta
update to the latest beta client
$ pogo update Updating from v1.2.3… done, updated to v2.3.4.pre
29 30 31 32 |
# File 'lib/heroku/command/update.rb', line 29 def beta validate_arguments! update_from_url("https://toolbelt.herokuapp.com/download/beta-zip") end |
#index ⇒ Object
update
update the heroku client
Example:
$ pogo update Updating from v1.2.3… done, updated to v2.3.4
17 18 19 20 |
# File 'lib/heroku/command/update.rb', line 17 def index validate_arguments! update_from_url("https://toolbelt.herokuapp.com/download/zip") end |