Sha256: 9a77822e7949ea798839f80352370c4259365b3f7e6f14f5e8be117bfb220d25

Contents?: true

Size: 308 Bytes

Versions: 3

Compression:

Stored size: 308 Bytes

Contents

# frozen_string_literal: true

module ForemanResourceQuota
  class ResourceQuotaUser < ApplicationRecord
    self.table_name = 'resource_quotas_users'

    belongs_to :resource_quota, inverse_of: :resource_quotas_users
    belongs_to :user, class_name: '::User', inverse_of: :resource_quotas_users
  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_user.rb
foreman_resource_quota-0.3.0 app/models/foreman_resource_quota/resource_quota_user.rb
foreman_resource_quota-0.2.0 app/models/foreman_resource_quota/resource_quota_user.rb