Class: DeviceCloud::PushNotification::EventNotification
- Inherits:
-
BaseNotification
- Object
- BaseNotification
- DeviceCloud::PushNotification::EventNotification
- Defined in:
- lib/device_cloud/push_notification/event_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!, handle_no_content!, #initialize, #mac_address, #raw_data
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/event_notification.rb', line 3 def handle! DeviceCloud.event_notification_handler.call(self) end |
#handle_no_content! ⇒ Object
7 8 9 |
# File 'lib/device_cloud/push_notification/event_notification.rb', line 7 def handle_no_content! DeviceCloud.empty_event_notification_handler.call(self) end |