lib/lamby/handler.rb in lamby-3.0.0 vs lib/lamby/handler.rb in lamby-3.0.1
- old
+ new
@@ -115,10 +115,10 @@
Lamby.config.event_bridge_handler &&
@event.key?('source') && @event.key?('detail') && @event.key?('detail-type')
end
def lambdakiq?
- defined?(::Lambdakiq) && ::Lambdakiq.job?(@event)
+ defined?(::Lambdakiq) && ::Lambdakiq.jobs?(@event)
end
def runner?
Runner.handle?(@event)
end