Method: HelloSign::Client#delete

Defined in:
lib/hello_sign/client.rb

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

Make 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.



127
128
129
130
131
132
# File 'lib/hello_sign/client.rb', line 127

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