Sha256: a05d581196d64a6791c445624794f357e1d32b40499025c53cc11145cead8e63
Contents?: true
Size: 801 Bytes
Versions: 3
Compression:
Stored size: 801 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
3 entries across 3 versions & 1 rubygems