Sha256: af8ecea9fc12d1a337225840d25c6f756f551b3dcf8ef534048f9828225a95c8
Contents?: true
Size: 343 Bytes
Versions: 15
Compression:
Stored size: 343 Bytes
Contents
require 'symmetric-encryption' module Kaui class Tenant < ApplicationRecord attr_encrypted :api_secret has_many :kaui_allowed_user_tenants, :class_name => 'Kaui::AllowedUserTenant', :foreign_key => 'kaui_tenant_id' has_many :kaui_allowed_users, :through => :kaui_allowed_user_tenants, :source => :kaui_allowed_user end end
Version data entries
15 entries across 15 versions & 1 rubygems