Sha256: 8cdce743203bb2aceb3bf1e965c7452db28030426629ff1e1463ebc567b35cca

Contents?: true

Size: 371 Bytes

Versions: 2

Compression:

Stored size: 371 Bytes

Contents

# frozen_string_literal: true

class Assignment < ApplicationRecord
  belongs_to :person, class_name: 'Namespaced::Person'
  belongs_to :organization

  global_registry_bindings binding: :relationship,
                           type: :assignment,
                           primary_association: :person,
                           related_association: :organization
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
global-registry-bindings-0.1.1 spec/internal/app/models/assignment.rb
global-registry-bindings-0.1.0 spec/internal/app/models/assignment.rb