Sha256: 165ba1882ea9c000f187590bf5539e769aaf505b9eb6d6f201a6df3264bbe6d3
Contents?: true
Size: 514 Bytes
Versions: 7
Compression:
Stored size: 514 Bytes
Contents
module Actions module Katello module Provider class ReindexSubscriptions < Actions::EntryAction middleware.use Actions::Middleware::KeepCurrentUser input_format do param :id end def plan(provider) Type! provider, ::Katello::Provider plan_self(id: provider.id) end def finalize provider = ::Katello::Provider.find_by_id!(input[:id]) provider.index_subscriptions end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems