Class: HTTY::CLI::Commands::HttpPut
- Inherits:
-
HTTY::CLI::Command
- Object
- HTTY::CLI::Command
- HTTY::CLI::Commands::HttpPut
- Includes:
- HTTPMethodCommand
- Defined in:
- lib/htty/cli/commands/http_put.rb
Overview
Encapsulates the http-put command.
Constant Summary
Constants included from Display
Instance Attribute Summary
Attributes inherited from HTTY::CLI::Command
Class Method Summary collapse
-
.help ⇒ Object
Returns the help text for the http-put command.
-
.see_also_commands ⇒ Object
Returns related command classes for the http-put command.
Methods included from HTTPMethodCommand
Methods included from Display
#break, #format, #formatted_prompt_for, #indent, #logotype, #normal, #notice, #pluralize, #rescuing_from, #say, #say_goodbye, #say_header, #say_hello, #show_headers, #show_request, #show_response, #strong, #word_wrap, #word_wrap_indented
Methods inherited from HTTY::CLI::Command
#add_request_if_new, alias_for, aliases, build_for, category, command_line, command_line_arguments, complete_for?, help_extended, #initialize, notify_if_cookies_cleared, #perform, raw_name, sanitize_arguments
Constructor Details
This class inherits a constructor from HTTY::CLI::Command
Class Method Details
.help ⇒ Object
Returns the help text for the http-put command.
9 10 11 |
# File 'lib/htty/cli/commands/http_put.rb', line 9 def self.help 'Issues an HTTP PUT using the current request' end |
.see_also_commands ⇒ Object
Returns related command classes for the http-put command.
14 15 16 17 18 19 |
# File 'lib/htty/cli/commands/http_put.rb', line 14 def self.see_also_commands [HTTY::CLI::Commands::HttpGet, HTTY::CLI::Commands::HttpPatch, HTTY::CLI::Commands::HttpPost, HTTY::CLI::Commands::HttpDelete] end |