Sha256: b2c4a83ba2908290b37fae8e0b8a66ed39789b9184c15be488b31ec6c5f1890d
Contents?: true
Size: 281 Bytes
Versions: 60
Compression:
Stored size: 281 Bytes
Contents
module Katello class ActivationKeySubscriptionsPresenter < SimpleDelegator attr_reader :quantity_attached def initialize(pool, key_pools) @quantity_attached ||= key_pools.find { |sub| sub['id'] == pool.cp_id }.try(:[], :amount) super(pool) end end end
Version data entries
60 entries across 60 versions & 1 rubygems