Method: Filezor::Client#post

Defined in:
lib/filezor/client.rb

#post(path, params, prefix = "/file/") ⇒ Object



77
78
79
80
81
# File 'lib/filezor/client.rb', line 77

def post(path, params, prefix = "/file/")
  _post("#{http_root}#{prefix}#{path}", params)
rescue RestClient::Unauthorized
  raise Unauthorized
end