Class: NodNotification

Inherits:
ApplicationRecord show all
Defined in:
app/models/nod_notification.rb

Instance Method Summary collapse

Methods inherited from ApplicationRecord

descendants_using_encryption, lockbox_options, #timestamp_attributes_for_update_in_model, #valid?

Instance Method Details

#serialize_payloadObject (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