module MailchimpAPI::Support::PostUpdate

Protected Instance Methods

update() click to toggle source

Overridden - use POST instead of PUT for an update.

# File lib/mailchimp_api/resources/support/post_update.rb, line 8
def update
  run_callbacks :update do
    connection.post(element_path(prefix_options), encode, self.class.headers).tap do |response|
      load_attributes_from_response(response)
    end
  end
end