Merge pull request #212 from houdiniproject/extra_documentation
Add some documentation to the Mailchimp code
This commit is contained in:
		
						commit
						49dda8037c
					
				
					 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…
	
	Add table
		
		Reference in a new issue
	
	 Eric Schultz
						Eric Schultz