Add some documentation to the Mailchimp code
This commit is contained in:
parent
e85873c0b2
commit
55b4ed0ff2
1 changed files with 2 additions and 0 deletions
|
@ -167,6 +167,8 @@ module Mailchimp
|
||||||
end
|
end
|
||||||
|
|
||||||
# @param [EmailList] email_list
|
# @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)
|
def self.hard_sync_list(email_list)
|
||||||
ops = generate_batch_ops_for_hard_sync(email_list)
|
ops = generate_batch_ops_for_hard_sync(email_list)
|
||||||
perform_batch_operations(email_list.nonprofit.id, ops)
|
perform_batch_operations(email_list.nonprofit.id, ops)
|
||||||
|
|
Loading…
Reference in a new issue