Sha256: 04ea3cbfbd925a7b33c240814f643efcf6755659021f892fdd7f5274ebb211b9

Contents?: true

Size: 672 Bytes

Versions: 160

Compression:

Stored size: 672 Bytes

Contents

module Katello
  class PurposeAddon < Katello::Model
    self.table_name = 'katello_purpose_addons'

    has_many :subscription_facet_purpose_addons, :class_name => "Katello::SubscriptionFacetPurposeAddon", :dependent => :destroy, :inverse_of => :purpose_addon
    has_many :subscription_facets, :through => :subscription_facet_purpose_addons, :class_name => "Katello::Host::SubscriptionFacet"

    has_many :activation_key_purpose_addons, :class_name => "Katello::ActivationKeyPurposeAddon", :dependent => :destroy, :inverse_of => :purpose_addon
    has_many :activation_keys, :through => :activation_key_purpose_addons, :class_name => "Katello::ActivationKey"
  end
end

Version data entries

160 entries across 160 versions & 1 rubygems

Version Path
katello-4.11.0.rc2 app/models/katello/purpose_addon.rb
katello-4.11.0.rc1 app/models/katello/purpose_addon.rb
katello-4.10.0 app/models/katello/purpose_addon.rb
katello-4.9.2 app/models/katello/purpose_addon.rb
katello-4.10.0.rc2 app/models/katello/purpose_addon.rb
katello-4.10.0.rc1 app/models/katello/purpose_addon.rb
katello-4.8.4 app/models/katello/purpose_addon.rb
katello-4.9.1 app/models/katello/purpose_addon.rb
katello-4.8.3 app/models/katello/purpose_addon.rb
katello-4.9.0 app/models/katello/purpose_addon.rb
katello-4.7.6 app/models/katello/purpose_addon.rb
katello-4.8.2 app/models/katello/purpose_addon.rb
katello-4.9.0.rc2 app/models/katello/purpose_addon.rb
katello-4.9.0.rc1 app/models/katello/purpose_addon.rb
katello-4.8.1 app/models/katello/purpose_addon.rb
katello-4.7.5 app/models/katello/purpose_addon.rb
katello-4.8.0 app/models/katello/purpose_addon.rb
katello-4.8.0.rc2 app/models/katello/purpose_addon.rb
katello-4.7.4 app/models/katello/purpose_addon.rb
katello-4.8.0.rc1 app/models/katello/purpose_addon.rb