module MailchimpAPI::Support::PatchUpdate
Protected Instance Methods
update()
click to toggle source
Overridden - use PATCH instead of PUT for an update.
# File lib/mailchimp_api/resources/support/patch_update.rb, line 8 def update run_callbacks :update do connection.patch(element_path(prefix_options), encode, self.class.headers).tap do |response| load_attributes_from_response(response) end end end