Class: HTTY::CLI::Commands::HttpTrace
- Inherits:
-
HTTY::CLI::Command
- Object
- HTTY::CLI::Command
- HTTY::CLI::Commands::HttpTrace
- Includes:
- HTTPMethodCommand
- Defined in:
- lib/htty/cli/commands/http_trace.rb
Overview
Encapsulates the http-trace command.
Constant Summary
Constant Summary
Constants included from Display
Instance Attribute Summary
Attributes inherited from HTTY::CLI::Command
Class Method Summary (collapse)
-
+ (Object) help
Returns the help text for the http-trace command.
-
+ (Object) help_extended
Returns the extended help text for the http-trace command.
-
+ (Object) see_also_commands
Returns related command classes for the http-trace command.
Methods included from HTTPMethodCommand
Methods included from Display
#format, #indent, #logotype, #normal, #notice, #pluralize, #prompt, #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?, #initialize, notify_if_cookies_cleared, #perform, raw_name
Constructor Details
This class inherits a constructor from HTTY::CLI::Command
Class Method Details
+ (Object) help
Returns the help text for the http-trace command.
17 18 19 |
# File 'lib/htty/cli/commands/http_trace.rb', line 17 def self.help 'Issues an HTTP TRACE using the current request' end |
+ (Object) help_extended
Returns the extended help text for the http-trace command.
22 23 24 25 26 27 |
# File 'lib/htty/cli/commands/http_trace.rb', line 22 def self.help_extended "Issues an HTTP TRACE using the current request.\n" + "\n" + 'Any request body you may set is ignored (i.e., it is not sent as part ' + 'of the request).' end |
+ (Object) see_also_commands
Returns related command classes for the http-trace command.
30 31 32 |
# File 'lib/htty/cli/commands/http_trace.rb', line 30 def self.see_also_commands [HTTY::CLI::Commands::HttpGet] end |