Sha256: cf2cdd46dd8bb5a53c4e49547443985c1a59001d55db37b4fe96a1907d524f82
Contents?: true
Size: 492 Bytes
Versions: 25
Compression:
Stored size: 492 Bytes
Contents
# frozen_string_literal: true module Sipity # Responsible for defining who receives what email and in what capacity # (eg to:, cc:, bcc:) class NotificationRecipient < ActiveRecord::Base self.table_name = 'sipity_notification_recipients' belongs_to :notification, class_name: 'Sipity::Notification' belongs_to :role, class_name: 'Sipity::Role' enum( recipient_strategy: { 'to' => 'to', 'cc' => 'cc', 'bcc' => 'bcc' } ) end end
Version data entries
25 entries across 25 versions & 1 rubygems