Merge pull request #212 from houdiniproject/extra_documentation

Add some documentation to the Mailchimp code
This commit is contained in:
Eric Schultz 2019-08-07 13:39:49 -05:00 committed by GitHub
commit 49dda8037c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -167,6 +167,8 @@ module Mailchimp
end
# @param [EmailList] email_list
# Notably, if a supporter unsubscribed on Mailchimp, this will not
# resubscribe them. This is the correct behavior.
def self.hard_sync_list(email_list)
ops = generate_batch_ops_for_hard_sync(email_list)
perform_batch_operations(email_list.nonprofit.id, ops)