Sha256: 7759d07d66aa9dff738ff34d894531edf13af2f363e5b25dfbae553f6066cf38
Contents?: true
Size: 286 Bytes
Versions: 7
Compression:
Stored size: 286 Bytes
Contents
module Katello class ActivationKeySubscriptionPresenter attr_accessor :subscription def initialize(subscription) @subscription = Katello::Pool.find_by_cp_id(subscription["id"]) @subscription["quantity_attached"] = subscription.try(:[], :amount) end end end
Version data entries
7 entries across 7 versions & 1 rubygems