module Revily::Request
Public Instance Methods
delete(path, options={})
click to toggle source
# File lib/revily/client/request.rb, line 6 def delete(path, options={}) request(:delete, path, options).body end
get(path, options={})
click to toggle source
# File lib/revily/client/request.rb, line 10 def get(path, options={}) response = request(:get, path, options) body = response.body body end
patch(path, options={})
click to toggle source
# File lib/revily/client/request.rb, line 17 def patch(path, options={}) request(:patch, path, options).body end
post(path, options={})
click to toggle source
# File lib/revily/client/request.rb, line 21 def post(path, options={}) request(:post, path, options).body end
put(path, options={})
click to toggle source
# File lib/revily/client/request.rb, line 25 def put(path, options={}) request(:put, path, options).body end
Private Instance Methods
request(method, path, options={})
click to toggle source
# File lib/revily/client/request.rb, line 31 def request(method, path, options={}) end