Class: RailsLiveDashboard::Subscribers::ActiveJobSubscriber

Inherits:
Object
  • Object
show all
Defined in:
lib/rails_live_dashboard/subscribers/active_job_subscriber.rb

Instance Method Summary collapse

Constructor Details

#initializeActiveJobSubscriber

Returns a new instance of ActiveJobSubscriber.



4
5
6
7
8
9
# File 'lib/rails_live_dashboard/subscribers/active_job_subscriber.rb', line 4

def initialize
  enqueue
  start
  perform
  discard
end