Sha256: 04b1d948ab747425af940e91f643a4289bf7f5009fb64c255b3940bb1ac11172

Contents?: true

Size: 440 Bytes

Versions: 4

Compression:

Stored size: 440 Bytes

Contents

module Ecm
  module Core
    module Backend
      class DelayedJobsController < Itsf::Backend::Resource::BaseController
        def self.resource_class
          Delayed::Job
        end

        private

        def permitted_params
          params.require(:delayed_backend_active_record_job).permit(:priority, :attempts, :handler, :last_error, :run_at, :locked_at, :failed_at, :locked_by, :queue)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ecm_core-0.4.0 app/controllers/ecm/core/backend/delayed_jobs_controller.rb
ecm_core-0.3.0 app/controllers/ecm/core/backend/delayed_jobs_controller.rb
ecm_core-0.2.2 app/controllers/ecm/core/backend/delayed_jobs_controller.rb
ecm_core-0.2.1 app/controllers/ecm/core/backend/delayed_jobs_controller.rb