Sha256: 813fd2bb90ff53f1ba9b0d4d172b1b434813bb6141983c7261f200df7e9b5223
Contents?: true
Size: 685 Bytes
Versions: 1
Compression:
Stored size: 685 Bytes
Contents
object @resource attributes :cp_id => :id attributes :name, :label, :description extends 'katello/api/v2/common/org_reference' attributes :marketing_product attributes :provider_id attributes :sync_plan_id attributes :gpg_key_id attributes :productContent node :repository_count do |product| product.repositories.enabled.count end node :gpg_key do |product| if !product.gpg_key.nil? { id: product.gpg_key.id, name: product.gpg_key.name } end end child :provider do attribute :name end node :permissions do |product| { :deletable => product.deletable? } end extends 'katello/api/v2/common/timestamps' extends 'katello/api/v2/common/readonly'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
katello-1.5.0 | app/views/katello/api/v2/products/show.json.rabl |