Class: Sipity::NotifiableContext
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Sipity::NotifiableContext
- Defined in:
- app/models/sipity/notifiable_context.rb
Overview
A bridge for defining the “contexts” in which emails are sent.
When an object enters a new state, we want to be able to define what are the emails that should be sent.
In Sipity this could be modeled by defining a NotifiableContext for a WorkflowState and Email.
Constant Summary collapse
- REASON_ACTION_IS_TAKEN =
'action_is_taken'