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