Sha256: 814a1f2ec7a6c2d497eb3892e0edffc4c481485b9d8d85e16896a8c27816721f

Contents?: true

Size: 298 Bytes

Versions: 5

Compression:

Stored size: 298 Bytes

Contents

# frozen_string_literal: true

module Masks
  module Rails
    class ActorRole < ApplicationRecord
      self.table_name = "actor_roles"

      belongs_to :actor, class_name: Masks.configuration.models[:actor]
      belongs_to :role, class_name: Masks.configuration.models[:role]
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
masks-0.4.0 app/models/masks/rails/actor_role.rb
masks-0.3.2 app/models/masks/rails/actor_role.rb
masks-0.3.1 app/models/masks/rails/actor_role.rb
masks-0.3.0 app/models/masks/rails/actor_role.rb
masks-0.2.0 app/models/masks/rails/actor_role.rb