Sha256: a248cb4ed5affebae4ae761b75ee70622e0f3aab7af05fe0def75493529f6dfc

Contents?: true

Size: 350 Bytes

Versions: 1

Compression:

Stored size: 350 Bytes

Contents

module DeviceCloud
  class PushNotification::DataNotification < PushNotification::BaseNotification
    def initialize(file_data)
      @file_data = file_data
      @id = data['id']
    end

    def file_name
      return '' unless id
      id['fdName']
    end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
device_cloud-0.0.8 lib/device_cloud/push_notification/data_notification.rb