Sha256: dbef983db340daecf24b2394c31bb9af33672459518ebd9dfede368eb56b540a

Contents?: true

Size: 547 Bytes

Versions: 1

Compression:

Stored size: 547 Bytes

Contents

object @resource

attributes :id
attributes :package_group_id
attributes :name
attributes :description
attributes :repo_id
attributes :default_package_names
attributes :mandatory_package_names
attributes :conditional_package_names
attributes :optional_package_names

node :repository do |package_group|
  if repo = Katello::Repository.where(:pulp_id => package_group.repo_id).first
    {
      :id => repo.id,
      :name => repo.name,
      :product => {
        :id => repo.product.id,
        :name => repo.product.name
      }
    }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
katello-2.2.2 app/views/katello/api/v2/package_groups/show.json.rabl