Method: MailChimp3::Endpoint#patch

Defined in:
lib/mailchimp3/endpoint.rb

#patch(body = {}) ⇒ Object



40
41
42
43
44
45
# File 'lib/mailchimp3/endpoint.rb', line 40

def patch(body = {})
  @last_result = _connection.patch(@url) do |req|
    req.body = body.to_json
  end
  _build_response(@last_result)
end