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.4.0.2 app/models/katello/purpose_addon.rb
katello-4.4.0.1 app/models/katello/purpose_addon.rb
katello-4.3.1 app/models/katello/purpose_addon.rb
katello-4.4.0 app/models/katello/purpose_addon.rb
katello-4.4.0.rc2 app/models/katello/purpose_addon.rb
katello-4.4.0.rc1 app/models/katello/purpose_addon.rb
katello-4.2.2 app/models/katello/purpose_addon.rb
katello-4.3.0 app/models/katello/purpose_addon.rb
katello-4.3.0.rc4 app/models/katello/purpose_addon.rb
katello-4.3.0.rc3 app/models/katello/purpose_addon.rb
katello-4.3.0.rc2.1 app/models/katello/purpose_addon.rb
katello-4.3.0.rc2 app/models/katello/purpose_addon.rb
katello-4.3.0.rc1 app/models/katello/purpose_addon.rb
katello-4.2.1 app/models/katello/purpose_addon.rb
katello-4.2.0.1 app/models/katello/purpose_addon.rb
katello-4.1.4 app/models/katello/purpose_addon.rb
katello-4.0.3 app/models/katello/purpose_addon.rb
katello-4.2.0.1.rc3 app/models/katello/purpose_addon.rb
katello-3.18.5 app/models/katello/purpose_addon.rb
katello-4.2.0.1.rc2 app/models/katello/purpose_addon.rb