Module: Katello::Glue::Candlepin::Content
- Extended by:
- ActiveSupport::Concern
- Included in:
- Content
- Defined in:
- app/models/katello/glue/candlepin/content.rb
Instance Method Summary collapse
Instance Method Details
#modified_product_ids(org) ⇒ Object
7 8 9 10 11 12 |
# File 'app/models/katello/glue/candlepin/content.rb', line 7 def modified_product_ids(org) @modified_product_cache ||= {} return @modified_product_cache[org.label] if @modified_product_cache[org.label] result = Resources::Candlepin::Content.get(org.label, self.cp_content_id) @modified_product_cache[org.label] = result['modifiedProductIds'] end |