Sha256: b1e401de1336922202ac091f1b07bcdcf79e5d4b3c0e5a67c90a8c086df0ff66
Contents?: true
Size: 1010 Bytes
Versions: 9
Compression:
Stored size: 1010 Bytes
Contents
object @resource extends 'katello/api/v2/common/identifier' node(:type) { |filter| filter.class::CONTENT_TYPE } attributes :inclusion child :content_view => :content_view do extends 'katello/api/v2/content_views/show' end child :repositories => :repositories do extends 'katello/api/v2/repositories/show' end if @resource.respond_to?(:package_rules) attributes :original_packages end node :rules do |filter| if filter.respond_to?(:package_rules) filter.package_rules.map do |rule| partial('katello/api/v2/content_view_filter_rules/show', :object => rule) end elsif filter.respond_to?(:package_group_rules) filter.package_group_rules.map do |rule| partial('katello/api/v2/content_view_filter_rules/show', :object => rule) end elsif filter.respond_to?(:erratum_rules) filter.erratum_rules.map do |rule| partial('katello/api/v2/content_view_filter_rules/show', :object => rule) end else [] end end extends 'katello/api/v2/common/timestamps'
Version data entries
9 entries across 9 versions & 1 rubygems