Sha256: 4253c7167ec4f2356c891dfb6015d2231d383512eced5339c247eabf6e3ff4b1
Contents?: true
Size: 862 Bytes
Versions: 30
Compression:
Stored size: 862 Bytes
Contents
module Actions module Pulp class Abstract < Actions::Base middleware.use ::Actions::Middleware::RemoteAction middleware.use Actions::Middleware::PulpServicesCheck def pulp_resources(capsule_id = nil) capsule_id ||= input["capsule_id"] if capsule_id capsule_content = ::Katello::CapsuleContent.new(SmartProxy.unscoped.find(capsule_id)) capsule_content.pulp_server.resources else ::Katello.pulp_server.resources end end def pulp_extensions(capsule_id = nil) capsule_id ||= input["capsule_id"] if capsule_id capsule_content = ::Katello::CapsuleContent.new(SmartProxy.unscoped.find(capsule_id)) capsule_content.pulp_server.extensions else ::Katello.pulp_server.extensions end end end end end
Version data entries
30 entries across 30 versions & 1 rubygems