Method: HelloSign::Client#delete

Defined in:
lib/hello_sign/client.rb

#delete(path, options = {}) ⇒ Object

Makes an HTTP DELETE request

Parameters:

  • path (String)

    Relative path of the request.

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • Params (Hash)

    of the URL.



121
122
123
124
125
126
# File 'lib/hello_sign/client.rb', line 121

def delete(path, options={})
  response = request(path, :delete, options)
  validate response
  parsed_response = parse response
  data = { headers: response.headers, body: parsed_response }
end