lib/device_cloud/configuration.rb in device_cloud-0.1.0 vs lib/device_cloud/configuration.rb in device_cloud-0.2.0

- old
+ new

@@ -19,18 +19,35 @@ # DeviceCloud::PushNotification::EventNotification objects # Proc will be called with the event notification object attr_accessor :event_notification_handler # Proc that will be called for handling + # DeviceCloud::PushNotification::EventNotification objects that + # do not contain file data (data too large - over 120KB) + # Proc will be called with the event notification object + attr_accessor :empty_event_notification_handler + + # Proc that will be called for handling # DeviceCloud::PushNotification::AlertNotification objects # Proc will be called with the alert notification object attr_accessor :alert_notification_handler # Proc that will be called for handling + # DeviceCloud::PushNotification::AlertNotification objects that + # do not contain file data (data too large - over 120KB) + # Proc will be called with the alert notification object + attr_accessor :empty_alert_notification_handler + + # Proc that will be called for handling # DeviceCloud::PushNotification::DataNotification objects # Proc will be called with the data notification object attr_accessor :data_notification_handler + # Proc that will be called for handling + # DeviceCloud::PushNotification::DataNotification objects that + # do not contain file data (data too large - over 120KB) + # Proc will be called with the data notification object + attr_accessor :empty_data_notification_handler # Yield self to be able to configure ActivityFeed with # block-style configuration. # # Example: \ No newline at end of file