Method: Postmen::Connection#delete

Defined in:
lib/postmen/connection.rb

#delete(path) ⇒ Object

Performs a HTTP DELETE request

Examples:

.delete('/shipper-accounts/11111')

Parameters:

  • path (String)


62
63
64
65
66
# File 'lib/postmen/connection.rb', line 62

def delete(path)
  HTTP
    .headers(headers)
    .delete(get_full_url(path))
end