Class: DeviceCloud::PushNotification::DataNotification

Inherits:
BaseNotification show all
Defined in:
lib/device_cloud/push_notification/data_notification.rb

Instance Attribute Summary

Attributes inherited from BaseNotification

#device_id, #full_path, #id, #queued_at, #type, #value

Instance Method Summary collapse

Methods inherited from BaseNotification

#data, #file_name, handle!, #initialize, #mac_address

Constructor Details

This class inherits a constructor from DeviceCloud::PushNotification::BaseNotification

Instance Method Details

#handle!Object



3
4
5
# File 'lib/device_cloud/push_notification/data_notification.rb', line 3

def handle!
  DeviceCloud.data_notification_handler.call(self)
end