Class: MarketingCloudSDK::Patch
- Inherits:
-
Objects::Base
- Object
- Objects::Base
- MarketingCloudSDK::Patch
- 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
-
#initialize(client, id, properties) ⇒ Patch
constructor
A new instance of Patch.
- #patch ⇒ Object
Methods included from Objects::Soap::CUD
Methods inherited from Objects::Base
Constructor Details
#initialize(client, id, properties) ⇒ Patch
Returns a new instance of Patch.
738 739 740 741 742 |
# File 'lib/marketingcloudsdk/objects.rb', line 738 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.
736 737 738 |
# File 'lib/marketingcloudsdk/objects.rb', line 736 def id @id end |
Class Method Details
.new(client, id, properties = nil) ⇒ Object
749 750 751 752 753 |
# File 'lib/marketingcloudsdk/objects.rb', line 749 def new client, id, properties=nil o = self.allocate o.send :initialize, client, id, properties return o.patch end |
Instance Method Details
#patch ⇒ Object
744 745 746 |
# File 'lib/marketingcloudsdk/objects.rb', line 744 def patch super end |