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.7.3 app/models/katello/purpose_addon.rb
katello-4.7.2 app/models/katello/purpose_addon.rb
katello-4.7.1 app/models/katello/purpose_addon.rb
katello-4.6.2.1 app/models/katello/purpose_addon.rb
katello-4.6.2 app/models/katello/purpose_addon.rb
katello-4.7.0 app/models/katello/purpose_addon.rb
katello-4.6.1 app/models/katello/purpose_addon.rb
katello-4.7.0.rc2 app/models/katello/purpose_addon.rb
katello-4.7.0.rc1 app/models/katello/purpose_addon.rb
katello-4.4.2.2 app/models/katello/purpose_addon.rb
katello-4.4.2.1 app/models/katello/purpose_addon.rb
katello-4.4.2 app/models/katello/purpose_addon.rb
katello-4.5.1 app/models/katello/purpose_addon.rb
katello-4.6.0 app/models/katello/purpose_addon.rb
katello-4.6.0.rc2 app/models/katello/purpose_addon.rb
katello-4.6.0.rc1 app/models/katello/purpose_addon.rb
katello-4.5.0 app/models/katello/purpose_addon.rb
katello-4.5.0.rc2 app/models/katello/purpose_addon.rb
katello-4.4.1 app/models/katello/purpose_addon.rb
katello-4.5.0.rc1 app/models/katello/purpose_addon.rb