Class: MarketingCloudSDK::Delete

Inherits:
Objects::Base show all
Includes:
Objects::Soap::CUD
Defined in:
lib/marketingcloudsdk/objects.rb

Instance Attribute Summary collapse

Attributes inherited from Objects::Base

#client, #properties

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Objects::Soap::CUD

#patch, #post

Methods inherited from Objects::Base

id, #props

Constructor Details

#initialize(client, id, properties) ⇒ Delete

Returns a new instance of Delete.



715
716
717
718
719
# File 'lib/marketingcloudsdk/objects.rb', line 715

def initialize client, id, properties
	self.properties = properties
	self.client = client
	self.id = id
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



713
714
715
# File 'lib/marketingcloudsdk/objects.rb', line 713

def id
  @id
end

Class Method Details

.new(client, id, properties = nil) ⇒ Object



726
727
728
729
730
# File 'lib/marketingcloudsdk/objects.rb', line 726

def new client, id, properties=nil
	o = self.allocate
	o.send :initialize, client, id, properties
	return o.delete
end

Instance Method Details

#deleteObject



721
722
723
# File 'lib/marketingcloudsdk/objects.rb', line 721

def delete
	super
end