Sha256: 26c68f8f2f551543f810804441dff20eb09b8343bd5da7ef4e6608bfa93ef82e
Contents?: true
Size: 790 Bytes
Versions: 9
Compression:
Stored size: 790 Bytes
Contents
class Syncano module Resources module Notifications # Notification resource about updating data object - represents notification with type "change" class Update < Syncano::Resources::Notifications::Base # Constructor for Syncano::Notifications::Update object # @param [Syncano::Clients::Base] client # @param [Hash] attributes def initialize(client, attributes) super(client, attributes) if attributes.is_a?(::Syncano::Packets::Base) self.attributes = { added: attributes.data[:added], updated: attributes.data[:updated], deleted: attributes.data[:deleted], target: attributes.target } end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems