Class: Skytap::Commands::Index
- Defined in:
- lib/skytap/commands/http.rb
Instance Attribute Summary
Attributes inherited from Base
#args, #command_options, #error, #global_options, #invoker, #logger
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from HttpBase
#delete, #encode_body, #expected_args, #get, #join_paths, make_for, #options_for_request, #parent_path, #path, #post, #put, #request, #requester, #resource, #resource_path, #root_path
Methods inherited from Base
#api_token, #ask, #ask_param, #command_line_params, command_name, #composed_params, #expected_args, #expected_options, #file_params, #find_id, #initialize, #interactive_params, #invoke, make_from, #noninteractive_params, #programmatic?, #solicit_user_input?, #username
Methods included from Help
#description, #help!, #help?, included, #parameters, #synopsis, #version?
Constructor Details
This class inherits a constructor from Skytap::Commands::Base
Class Method Details
.default_description ⇒ Object
146 147 148 |
# File 'lib/skytap/commands/http.rb', line 146 def self.default_description "Show all #{parent.command_name.pluralize.gsub('_', ' ')} to which you have access" end |
Instance Method Details
#run! ⇒ Object
150 151 152 |
# File 'lib/skytap/commands/http.rb', line 150 def run! get(path) end |