Class: MarketingCloudSDK::Delete
- Inherits:
-
Objects::Base
- Object
- Objects::Base
- MarketingCloudSDK::Delete
- Includes:
- Objects::Soap::CUD
- Defined in:
- lib/marketingcloudsdk/objects.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
Attributes inherited from Objects::Base
Class Method Summary collapse
Instance Method Summary collapse
- #delete ⇒ Object
-
#initialize(client, id, properties) ⇒ Delete
constructor
A new instance of Delete.
Methods included from Objects::Soap::CUD
Methods inherited from Objects::Base
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
#id ⇒ Object
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
#delete ⇒ Object
721 722 723 |
# File 'lib/marketingcloudsdk/objects.rb', line 721 def delete super end |