Sha256: 0b8021793b7cb542895041ddafbcf85519bae100ac7e99c6a706326b4f39cbbb
Contents?: true
Size: 510 Bytes
Versions: 1
Compression:
Stored size: 510 Bytes
Contents
module CloseEncounters class ParticipantService < ApplicationRecord has_many :events, inverse_of: :participant_service, class_name: "CloseEncounters::ParticipantEvent" validates :name, presence: true if columns_hash["connection_info"].type == :text serialize :connection_info, coder: JSON end # ONLY encrypt if you have the necessary keys if Rails.application.credentials.close_encounters_encryption_key.present? encrypts :connection_info end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
close_encounters-0.1.1 | app/models/close_encounters/participant_service.rb |