Sha256: a0f6a2c8976bbf09fb37f7370b200c8c46f54cc63dc390d5d8b0b57f828be275

Contents?: true

Size: 362 Bytes

Versions: 7

Compression:

Stored size: 362 Bytes

Contents

object @resource

@resource ||= @object

glue :content do
  extends 'katello/api/v2/common/identifier'
  attributes :type, :updated, :vendor, :gpgUrl, :contentUrl, :label
end
attribute :enabled

if @resource.product
  child :product => :product do
    attributes :id, :name
  end
end

child @resource.repositories => :repositories do
  attributes :id, :name
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
katello-3.5.2 app/views/katello/api/v2/repository_sets/show.json.rabl
katello-3.5.1.1 app/views/katello/api/v2/repository_sets/show.json.rabl
katello-3.5.1 app/views/katello/api/v2/repository_sets/show.json.rabl
katello-3.5.0.1 app/views/katello/api/v2/repository_sets/show.json.rabl
katello-3.5.0 app/views/katello/api/v2/repository_sets/show.json.rabl
katello-3.5.0.rc2 app/views/katello/api/v2/repository_sets/show.json.rabl
katello-3.5.0.rc1 app/views/katello/api/v2/repository_sets/show.json.rabl