Sha256: 867a01a515473903b9fb67dcdc0312d0390ea15039daed10ffbb3f1cca4bf266

Contents?: true

Size: 553 Bytes

Versions: 1

Compression:

Stored size: 553 Bytes

Contents

object @resource

attributes :id, :cp_id, :name, :label, :description

extends 'katello/api/v2/common/syncable'
extends 'katello/api/v2/common/org_reference'

attributes :provider_id
attributes :sync_plan_id
attributes :sync_status
attributes :sync_summary
attributes :gpg_key_id
attributes :redhat? => :redhat

attributes :available_content => :available_content, :if => params[:include_available_content]

child :sync_plan do
  extends 'katello/api/v2/sync_plans/show'
end

node :repository_count do |product|
  product.library_repositories.count
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
katello-2.2.2 app/views/katello/api/v2/products/base.json.rabl