Module: Honeybadger::Plugins::Resque::Installer Private
- Defined in:
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
Instance Method Details
#payload_class_with_honeybadger ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
38 39 40 41 42 43 44 45 46
# File 'lib/honeybadger/plugins/resque.rb', line 38 def payload_class_with_honeybadger payload_class_without_honeybadger.tap do |klass| unless klass.respond_to?(:around_perform_with_honeybadger) klass.instance_eval do extend(::Honeybadger::Plugins::Resque::Extension) end end end end