houdini/app/jobs/mailchimp_supporter_sync_job.rb
2019-11-08 16:13:03 -06:00

7 lines
211 B
Ruby

class MailchimpSupporterSyncJob < ApplicationJob
queue_as :default
def perform(np_id, supporter_ids, tag_data)
Mailchimp.sync_supporters_to_list_from_tag_joins(np_id, supporter_ids, tag_data)
end
end