Sha256: cb37a07ab43c21b06922eae3ff1e30b3f35dd951b3de1324507773887b89679d

Contents?: true

Size: 792 Bytes

Versions: 2

Compression:

Stored size: 792 Bytes

Contents

require 'json'
require 'digest'
require 'active_job'
require 'active_job/queue_adapters'
require 'active_support/all'
require 'lambdakiq/version'
require 'lambdakiq/error'
require 'lambdakiq/adapter'
require 'lambdakiq/client'
require 'lambdakiq/queue'
require 'lambdakiq/message'
require 'lambdakiq/event'
require 'lambdakiq/job'
require 'lambdakiq/record'
require 'lambdakiq/backoff'
require 'lambdakiq/metrics'
require 'lambdakiq/worker'
require 'rails/railtie'
require 'lambdakiq/railtie'

module Lambdakiq

  def cmd(event:, context:)
    handler(event)
  end

  def handler(event)
    Job.handler(event)
  end

  def jobs?(event)
    Event.jobs?(event)
  end

  def client
    @client ||= Client.new
  end

  def config
    Lambdakiq::Railtie.config.lambdakiq
  end

  extend self

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lambdakiq-2.3.0 lib/lambdakiq.rb
lambdakiq-2.2.0 lib/lambdakiq.rb