Class: Magellan::Cli::Messaging::Http

Inherits:
Base
  • Object
show all
Defined in:
lib/magellan/cli/messaging/http.rb

Constant Summary collapse

COMMAND_ORDER =
%w[get post put patch delete ping]

Constants included from FileAccess

FileAccess::DEFAULT_SELECTION_FILENAME

Instance Method Summary collapse

Methods included from FileAccess

ensure_config_dir, load_selection, load_selections, remove_selection_file, selection_filename, update_selections

Methods inherited from Base

command_help, help, log_error, log_info, log_success, log_verbose, log_warning, puts_with_color, sorted_commands, sorted_printable_commands, update_common_help_message

Instance Method Details

#pingObject



9
10
11
12
# File 'lib/magellan/cli/messaging/http.rb', line 9

def ping
  res = core.ping
  puts_res(res)
end