Class: NodNotification
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- NodNotification
- Defined in:
- app/models/nod_notification.rb
Instance Method Summary collapse
- #serialize_payload ⇒ Object private
Methods inherited from ApplicationRecord
descendants_using_encryption, lockbox_options, #timestamp_attributes_for_update_in_model, #valid?
Instance Method Details
#serialize_payload ⇒ Object (private)
17 18 19 |
# File 'app/models/nod_notification.rb', line 17 def serialize_payload self.payload = payload.to_json unless payload.is_a?(String) end |