Sha256: d43421f39ea8b22cd2624bf075682eee6a94ac1d02e1c2b8905ef566160bcb45
Contents?: true
Size: 883 Bytes
Versions: 22
Compression:
Stored size: 883 Bytes
Contents
## ## 2023-03-04 _vp_ When I receive one. ## 2023-03-04 _vp_ Also when I send one, forever. ## class Office::EmailAction include Mongoid::Document include Mongoid::Timestamps field :slug, type: :string validates :slug, uniqueness: true, allow_nil: true field :descr, type: :string ## optional, can remove belongs_to :email_template, class_name: '::Ish::EmailTemplate' def tmpl; email_template; end has_many :scheduled_email_actions, class_name: '::Office::ScheduledEmailAction' def schs; scheduled_email_actions; end has_many :ties, class_name: '::Office::EmailActionTie', inverse_of: :email_action has_many :prev_ties, class_name: '::Office::EmailActionTie', inverse_of: :next_email_action accepts_nested_attributes_for :ties has_many :email_filters, class_name: 'Office::EmailFilter', inverse_of: :email_action end EAct = Office::EmailAction
Version data entries
22 entries across 22 versions & 1 rubygems