Sha256: f9a7a04be2acb3e23a332a65d5a2035e17dfbd3ea90d370b7fc05a95be2db681
Contents?: true
Size: 313 Bytes
Versions: 10
Compression:
Stored size: 313 Bytes
Contents
module MissionControl::Jobs::QueueScoped extend ActiveSupport::Concern included do before_action :set_queue end private def set_queue @queue = ActiveJob.queues[params[:queue_id]] or raise MissionControl::Jobs::Errors::ResourceNotFound, "Queue '#{params[:queue_id]}' not found" end end
Version data entries
10 entries across 10 versions & 1 rubygems