Sha256: 72b23fe44bbb76da8d8a5272fe9448ff49679138accb03b4c5e61f3260f2fdb3
Contents?: true
Size: 733 Bytes
Versions: 1
Compression:
Stored size: 733 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, :multi_entitlement attributes :type attributes :name => :product_name attributes :unmapped_guest attributes :virt_only attributes :virt_who attributes :upstream? => :upstream node :hypervisor, :if => lambda { |sub| sub && sub.try(:hypervisor) && sub.hypervisor_id } do |subscription| { id: subscription.hypervisor.id, name: subscription.hypervisor.name } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
katello-3.7.0.rc1 | app/views/katello/api/v2/subscriptions/base.json.rabl |