Sha256: f63c90bcd2fc138a34401834f15028ea2406de44f937dab928f3a98ba0d00bb8

Contents?: true

Size: 588 Bytes

Versions: 5

Compression:

Stored size: 588 Bytes

Contents

module Cmor
  module Core
    module Backend
      class DelayedBackendActiveRecordJobsController < Cmor::Core::Backend::ResourcesController::Base
        def self.resource_class
          ::Delayed::Backend::ActiveRecord::Job
        end

        # def self.available_rest_actions
        #   %i(index show edit update)
        # 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

5 entries across 5 versions & 1 rubygems

Version Path
cmor_core_backend-0.0.5.pre app/controllers/cmor/core/backend/delayed_backend_active_record_jobs_controller.rb
cmor_core_backend-0.0.4.pre app/controllers/cmor/core/backend/delayed_backend_active_record_jobs_controller.rb
cmor_core_backend-0.0.3.pre app/controllers/cmor/core/backend/delayed_backend_active_record_jobs_controller.rb
cmor_core_backend-0.0.2.pre app/controllers/cmor/core/backend/delayed_backend_active_record_jobs_controller.rb
cmor_core_backend-0.0.1.pre app/controllers/cmor/core/backend/delayed_backend_active_record_jobs_controller.rb