Sha256: e78969838956c3bff604bdcd755c77de4eb6aa29ac416ea7eb96f568eb2d6cce
Contents?: true
Size: 412 Bytes
Versions: 16
Compression:
Stored size: 412 Bytes
Contents
# frozen_string_literal: true module Lcms module Engine class DocumentBundleGenerateJob < Lcms::Engine::ApplicationJob extend ResqueJob queue_as :low def perform(resource, options) category = options[:category] unit = resource.unit? ? resource : resource.parents.detect(&:unit?) DocumentBundle.update_bundle(unit, category) if unit end end end end
Version data entries
16 entries across 16 versions & 1 rubygems