module Vscale::Request
Constants
- API_ENDPOINT
- VERB_MAP
Public Instance Methods
delete(path)
click to toggle source
# File lib/vscale/api/request.rb, line 25 def delete(path) request_json :delete, path end
get(path, params = {})
click to toggle source
# File lib/vscale/api/request.rb, line 13 def get(path, params = {}) request_json :get, path, params end
patch(path, params = {})
click to toggle source
# File lib/vscale/api/request.rb, line 29 def patch(path, params = {}) request_json :patch, path, params end
post(path, params = {})
click to toggle source
# File lib/vscale/api/request.rb, line 17 def post(path, params = {}) request_json :post, path, params end
put(path, params = {})
click to toggle source
# File lib/vscale/api/request.rb, line 21 def put(path, params = {}) request_json :put, path, params end