Sha256: 4ea46fc18586c648f0dec59a4ccce95cecbb8caaa08375d64c0851dc3c907f97
Contents?: true
Size: 496 Bytes
Versions: 12
Compression:
Stored size: 496 Bytes
Contents
module BridgeCache class Grant < BridgeBaseModel extend BridgeCache::Data::BridgeModel belongs_to :user, foreign_key: :user_id, primary_key: BridgeCache.primary_key, class_name: BridgeCache::User.name, optional: true belongs_to :domain, foreign_key: :domain_id, primary_key: BridgeCache.primary_key, class_name: BridgeCache::Domain.name, optional: true def self.unique_column_names %w[bridge_id domain_id] end end end
Version data entries
12 entries across 12 versions & 1 rubygems