Sha256: 65bd043750fb1052f3d828d840db532ba12bb7a0e92e5541b3fbc1502274cc6d
Contents?: true
Size: 844 Bytes
Versions: 28
Compression:
Stored size: 844 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.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.find(capsule_id)) capsule_content.pulp_server.extensions else ::Katello.pulp_server.extensions end end end end end
Version data entries
28 entries across 28 versions & 1 rubygems