Module: ActiveJob::Trackable::Core::ClassMethods

Defined in:
lib/activejob/trackable/core.rb

Overview

Provide .trackable class method which can be used to configure tracker behavior

Instance Method Summary collapse

Instance Method Details

#trackable(options) ⇒ Object

Configure trackable, supported options:

- debounced: boolean (default: false)
- throttled: duration (default: nil)


82
83
84
# File 'lib/activejob/trackable/core.rb', line 82

def trackable(options)
  trackable_options.merge! options
end