Sha256: bcf381680e05883e5f1c56e2afd56319dfdd9d1d2cc11f650eccba09acbb0064

Contents?: true

Size: 241 Bytes

Versions: 7

Compression:

Stored size: 241 Bytes

Contents

module MnoEnterprise
  # To perform event logging asynchronously
  class EventLoggerJob < ActiveJob::Base
    queue_as :default

    def perform(action, *args)
      MnoEnterprise::EventLogger.send("send_#{action}", *args)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mno-enterprise-api-3.4.0 app/jobs/mno_enterprise/event_logger_job.rb
mno-enterprise-api-3.3.3 app/jobs/mno_enterprise/event_logger_job.rb
mno-enterprise-api-3.3.2 app/jobs/mno_enterprise/event_logger_job.rb
mno-enterprise-api-3.2.1 app/jobs/mno_enterprise/event_logger_job.rb
mno-enterprise-api-3.3.1 app/jobs/mno_enterprise/event_logger_job.rb
mno-enterprise-api-3.3.0 app/jobs/mno_enterprise/event_logger_job.rb
mno-enterprise-api-3.2.0 app/jobs/mno_enterprise/event_logger_job.rb