Method: Dnsimple::Client#patch

Defined in:
lib/dnsimple/client.rb

#patch(path, data = nil, options = {}) ⇒ HTTParty::Response

Make a HTTP PATCH request.

Parameters:

  • path (String)

    The path, relative to #base_url

  • data (Hash) (defaults to: nil)

    The body for the request

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

    The query and header params for the request

Returns:

  • (HTTParty::Response)


139
140
141
# File 'lib/dnsimple/client.rb', line 139

def patch(path, data = nil, options = {})
  execute :patch, path, data, options
end