Sha256: ba4c53d96bc5bee8660bcdd92514fba1722810aa15af0d5c48a86d59f73e6d44

Contents?: true

Size: 338 Bytes

Versions: 3

Compression:

Stored size: 338 Bytes

Contents

# frozen_string_literal: true

module ForemanResourceQuota
  class ResourceQuotaUsergroup < ApplicationRecord
    self.table_name = 'resource_quotas_usergroups'

    belongs_to :resource_quota, inverse_of: :resource_quotas_usergroups
    belongs_to :usergroup, class_name: '::Usergroup', inverse_of: :resource_quotas_usergroups
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
foreman_resource_quota-0.3.1 app/models/foreman_resource_quota/resource_quota_usergroup.rb
foreman_resource_quota-0.3.0 app/models/foreman_resource_quota/resource_quota_usergroup.rb
foreman_resource_quota-0.2.0 app/models/foreman_resource_quota/resource_quota_usergroup.rb