class Syncano::Resources::Notifications::Destroy
Notification resource about destroying data object - represents notification with type “delete”
Public Class Methods
new(client, attributes)
click to toggle source
Constructor for Syncano::Notifications::Create object @param [Syncano::Clients::Base] client @param [Hash] attributes
Calls superclass method
Syncano::Resources::Notifications::Base::new
# File lib/syncano/resources/notifications/destroy.rb, line 10 def initialize(client, attributes) super(client, attributes) if attributes.is_a?(::Syncano::Packets::Base) self[:target] = attributes.target end end