Module: Auth::Concerns::Work::CommunicationFieldsConcern
- Extended by:
- ActiveSupport::Concern
- Included in:
- Work::Instruction
- Defined in:
- app/models/auth/concerns/work/communication_fields_concern.rb
Overview
this should be added to any class that embeds communication.rb
Instance Method Summary collapse
- #get_email_content(args = {}) ⇒ Object
- #get_email_subject(args = {}) ⇒ Object
- #get_link(args = {}) ⇒ Object
- #get_notification_badge(args = {}) ⇒ Object
- #get_notification_content(args = {}) ⇒ Object
- #get_sms_content(args = {}) ⇒ Object
Instance Method Details
#get_email_content(args = {}) ⇒ Object
66 67 68 |
# File 'app/models/auth/concerns/work/communication_fields_concern.rb', line 66 def get_email_content(args={}) self.email_content end |
#get_email_subject(args = {}) ⇒ Object
62 63 64 |
# File 'app/models/auth/concerns/work/communication_fields_concern.rb', line 62 def get_email_subject(args={}) self.email_subject end |
#get_link(args = {}) ⇒ Object
58 59 60 |
# File 'app/models/auth/concerns/work/communication_fields_concern.rb', line 58 def get_link(args={}) self.link end |
#get_notification_badge(args = {}) ⇒ Object
74 75 76 |
# File 'app/models/auth/concerns/work/communication_fields_concern.rb', line 74 def get_notification_badge(args={}) self.notification_badge end |
#get_notification_content(args = {}) ⇒ Object
78 79 80 |
# File 'app/models/auth/concerns/work/communication_fields_concern.rb', line 78 def get_notification_content(args={}) self.notification_content end |
#get_sms_content(args = {}) ⇒ Object
70 71 72 |
# File 'app/models/auth/concerns/work/communication_fields_concern.rb', line 70 def get_sms_content(args={}) self.sms_content end |