Sha256: b33e48ba1c14c968ada28c57c7bd2fad60df20d787d5e27441999f3f360e7eb6

Contents?: true

Size: 324 Bytes

Versions: 7

Compression:

Stored size: 324 Bytes

Contents

module ForemanPatch
  module Host
    class GroupFacet < ::ApplicationRecord
      self.table_name = 'foreman_patch_group_facets'
      include Facets::Base

      belongs_to :group, class_name: '::ForemanPatch::Group', inverse_of: :group_facets

      validates :host, presence: true, allow_blank: false
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
foreman_patch-1.2.0.alpha1 app/models/foreman_patch/host/group_facet.rb
foreman_patch-1.1.6.alpha5 app/models/foreman_patch/host/group_facet.rb
foreman_patch-1.1.6.alpha4 app/models/foreman_patch/host/group_facet.rb
foreman_patch-1.1.5 app/models/foreman_patch/host/group_facet.rb
foreman_patch-1.1.4 app/models/foreman_patch/host/group_facet.rb
foreman_patch-1.1.3 app/models/foreman_patch/host/group_facet.rb
foreman_patch-1.1.1 app/models/foreman_patch/host/group_facet.rb