Sha256: 3463677ef3f392865ae863d529028a570aa20d2f9eb30ec8795870d2e6eb2733
Contents?: true
Size: 457 Bytes
Versions: 182
Compression:
Stored size: 457 Bytes
Contents
module Actions module Candlepin module Owner class DestroyImports < Candlepin::Abstract input_format do param :label end def run organization = ::Organization.find_by!(label: input[:label]) output[:response] = ::Katello::Resources::Candlepin::Owner.destroy_imports(organization.label, true) organization.redhat_provider.index_subscriptions end end end end end
Version data entries
182 entries across 182 versions & 1 rubygems