Sha256: 505a890622cd566b904c9fbb52126431c66f767fcb23499a69f88999427b1793
Contents?: true
Size: 954 Bytes
Versions: 65
Compression:
Stored size: 954 Bytes
Contents
module Katello module Hostgroup class ContentFacet < Katello::Model audited :associated_with => :lifecycle_environment self.table_name = 'katello_hostgroup_content_facets' include Facets::HostgroupFacet belongs_to :kickstart_repository, :class_name => "::Katello::Repository", :inverse_of => :kickstart_hostgroup_content_facets belongs_to :content_view, :inverse_of => :hostgroup_content_facets, :class_name => "Katello::ContentView" belongs_to :lifecycle_environment, :inverse_of => :hostgroup_content_facets, :class_name => "Katello::KTEnvironment" belongs_to :content_source, :class_name => "::SmartProxy", :inverse_of => :hostgroup_content_facets validates_with Katello::Validators::ContentViewEnvironmentValidator validates_with Katello::Validators::HostgroupKickstartRepositoryValidator validates_with ::AssociationExistsValidator, attributes: [:content_source] end end end
Version data entries
65 entries across 65 versions & 1 rubygems