From 55b4ed0ff294e93e30d13881c5c6d4b89842a06e Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Wed, 7 Aug 2019 13:15:47 -0500 Subject: [PATCH] Add some documentation to the Mailchimp code --- lib/mailchimp.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/mailchimp.rb b/lib/mailchimp.rb index 31f06bc4..4215fbcc 100644 --- a/lib/mailchimp.rb +++ b/lib/mailchimp.rb @@ -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)