Module: Lambdakiq::Worker

Extended by:
ActiveSupport::Concern
Defined in:
lib/lambdakiq/worker.rb

Instance Method Summary collapse

Instance Method Details

#lambdakiq?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/lambdakiq/worker.rb', line 19

def lambdakiq?
  true
end

#lambdakiq_async?Boolean

Returns:

  • (Boolean)


27
28
29
# File 'lib/lambdakiq/worker.rb', line 27

def lambdakiq_async?
  !!lambdakiq_options_hash[:async]
end

#lambdakiq_retryObject



23
24
25
# File 'lib/lambdakiq/worker.rb', line 23

def lambdakiq_retry
  lambdakiq_options_hash[:retry]
end