class Magellan::Cli::Direct
Public Instance Methods
delete(path)
click to toggle source
# File lib/magellan/cli/direct.rb, line 24 def delete(path) delete(path) end
get(path)
click to toggle source
# File lib/magellan/cli/direct.rb, line 8 def get(path) r = get_json(path) $stdout.puts(JSON.pretty_generate(r)) end
post(path, params = nil)
click to toggle source
# File lib/magellan/cli/direct.rb, line 14 def post(path, params = nil) post_json(path) end
put(path, params = nil)
click to toggle source
# File lib/magellan/cli/direct.rb, line 19 def put(path, params = nil) put_json(path) end