Sha256: 55cf37b09ab86a74e23c1415d9b9640a36968f0727d8dd8b78ca83abc3687e85

Contents?: true

Size: 800 Bytes

Versions: 159

Compression:

Stored size: 800 Bytes

Contents

object @resource ||= @object

attributes :id
attributes :cp_id
attributes :subscription_id
attributes :name
attributes :start_date, :end_date
attributes :available, :quantity, :consumed
attributes :account_number, :contract_number
attributes :support_level
attributes :product_id
attributes :sockets, :cores, :ram
attributes :instance_multiplier, :stacking_id
attributes :multi_entitlement? => :multi_entitlement
attributes :type
attributes :name => :product_name
attributes :unmapped_guest
attributes :virt_only
attributes :virt_who
attributes :upstream? => :upstream
attributes :upstream_pool_id

node :hypervisor, :if => lambda { |sub| sub && sub.respond_to?(:hypervisor) && sub.hypervisor } do |subscription|
  {
    id: subscription.hypervisor.id,
    name: subscription.hypervisor.name
  }
end

Version data entries

159 entries across 159 versions & 1 rubygems

Version Path
katello-4.14.1 app/views/katello/api/v2/subscriptions/base.json.rabl
katello-4.14.0 app/views/katello/api/v2/subscriptions/base.json.rabl
katello-4.14.0.rc3 app/views/katello/api/v2/subscriptions/base.json.rabl
katello-4.14.0.rc2 app/views/katello/api/v2/subscriptions/base.json.rabl
katello-4.14.0.rc1.1 app/views/katello/api/v2/subscriptions/base.json.rabl
katello-4.14.0.rc1 app/views/katello/api/v2/subscriptions/base.json.rabl
katello-4.13.1 app/views/katello/api/v2/subscriptions/base.json.rabl
katello-4.13.0 app/views/katello/api/v2/subscriptions/base.json.rabl
katello-4.12.1 app/views/katello/api/v2/subscriptions/base.json.rabl
katello-4.13.0.rc1 app/views/katello/api/v2/subscriptions/base.json.rabl
katello-4.12.0 app/views/katello/api/v2/subscriptions/base.json.rabl
katello-4.12.0.rc3 app/views/katello/api/v2/subscriptions/base.json.rabl
katello-4.12.0.rc2 app/views/katello/api/v2/subscriptions/base.json.rabl
katello-4.12.0.rc1 app/views/katello/api/v2/subscriptions/base.json.rabl
katello-4.11.1 app/views/katello/api/v2/subscriptions/base.json.rabl
katello-4.11.0 app/views/katello/api/v2/subscriptions/base.json.rabl
katello-4.11.0.rc2 app/views/katello/api/v2/subscriptions/base.json.rabl
katello-4.11.0.rc1 app/views/katello/api/v2/subscriptions/base.json.rabl
katello-4.10.0 app/views/katello/api/v2/subscriptions/base.json.rabl
katello-4.9.2 app/views/katello/api/v2/subscriptions/base.json.rabl