Add Active Job definitions for executing Mailbluster requests

This commit is contained in:
CactusPuppy 2021-03-23 22:28:52 -07:00
parent 9ae19c8db6
commit 671d010e68
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82
3 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,9 @@
# frozen_string_literal: true
class MailblusterCreateLeadJob < ApplicationJob
queue_as :default
def perform(user)
ApplicationController.helpers.create_lead(user)
end
end