module Fakturoid::Api::HttpMethods

Public Instance Methods

delete_request(path, params = {}) click to toggle source
# File lib/fakturoid/api/http_methods.rb, line 16
def delete_request(path, params = {})
  Request.new(:delete, path, self).call(params)
end
get_request(path, params = {}) click to toggle source
# File lib/fakturoid/api/http_methods.rb, line 4
def get_request(path, params = {})
  Request.new(:get, path, self).call(params)
end
patch_request(path, params = {}) click to toggle source
# File lib/fakturoid/api/http_methods.rb, line 12
def patch_request(path, params = {})
  Request.new(:patch, path, self).call(params)
end
post_request(path, params = {}) click to toggle source
# File lib/fakturoid/api/http_methods.rb, line 8
def post_request(path, params = {})
  Request.new(:post, path, self).call(params)
end