Class: MatViews::ApplicationJob Abstract

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
app/jobs/mat_views/application_job.rb

Overview

This class is abstract.

Base class for all background jobs in the mat_views engine.

Inherits from ActiveJob::Base and provides a common superclass for engine jobs such as CreateViewJob and RefreshViewJob.

Examples:

Defining a custom job

class MyCustomJob < MatViews::ApplicationJob
  def perform(mat_view_definition_id)
    # custom logic here
  end
end

See Also:

Direct Known Subclasses

CreateViewJob, DeleteViewJob, RefreshViewJob