houdini/app/jobs/mailchimp_supporter_sync_job.rb

8 lines
211 B
Ruby
Raw Normal View History

2019-11-07 21:51:24 +00:00
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