Sha256: 26831ebc32281a31362033f29138e7d55b72179c0f4a64fefaec714c29a0020e
Contents?: true
Size: 1014 Bytes
Versions: 13
Compression:
Stored size: 1014 Bytes
Contents
object @resource @resource ||= @object node(:id) { |resource| resource.uuid } attributes :id => :katello_id attributes :uuid, :name, :description, :host_id attributes :location attributes :content_view_id attributes :distribution attributes :katello_agent_installed? => :katello_agent_installed attributes :registered_by child :content_view => :content_view do attributes :id, :name, :label end child :environment => :environment do extends 'katello/api/v2/environments/show' end child :activation_keys => :activation_keys do attributes :id, :name, :description end # Candlepin attributes attributes :entitlementStatus attributes :autoheal attributes :release, :ipv4_address attributes :checkin_time, :created attributes :installedProducts node(:errata_counts, :if => lambda { |system| system.foreman_host && system.foreman_host.content_facet }) do |system| partial('katello/api/v2/errata/counts', :object => Katello::RelationPresenter.new(system.foreman_host.content_facet.installable_errata)) end
Version data entries
13 entries across 13 versions & 1 rubygems