Sha256: c7e86f7ec95090e8ab19dfe6f50473f8cd774746e1dd56502441af599a12a100

Contents?: true

Size: 539 Bytes

Versions: 9

Compression:

Stored size: 539 Bytes

Contents

module Cmor
  module System
    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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cmor_system-0.0.54.pre app/controllers/cmor/system/delayed_backend_active_record_jobs_controller.rb
cmor_system-0.0.53.pre app/controllers/cmor/system/delayed_backend_active_record_jobs_controller.rb
cmor_system-0.0.52.pre app/controllers/cmor/system/delayed_backend_active_record_jobs_controller.rb
cmor_system-0.0.51.pre app/controllers/cmor/system/delayed_backend_active_record_jobs_controller.rb
cmor_system-0.0.50.pre app/controllers/cmor/system/delayed_backend_active_record_jobs_controller.rb
cmor_system-0.0.49.pre app/controllers/cmor/system/delayed_backend_active_record_jobs_controller.rb
cmor_system-0.0.48.pre app/controllers/cmor/system/delayed_backend_active_record_jobs_controller.rb
cmor_system-0.0.45.pre app/controllers/cmor/system/delayed_backend_active_record_jobs_controller.rb
cmor_system-0.0.44.pre app/controllers/cmor/system/delayed_backend_active_record_jobs_controller.rb