Sha256: 36ddddafea375a6b63f56a9fcd2cfeeef972685a316e0fd90d8b8a891bd5b7b0
Contents?: true
Size: 287 Bytes
Versions: 13
Compression:
Stored size: 287 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
13 entries across 13 versions & 1 rubygems