Class: MarketingCloudSDK::Post
- Inherits:
-
Objects::Base
- Object
- Objects::Base
- MarketingCloudSDK::Post
- 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) ⇒ Post
constructor
A new instance of Post.
- #post ⇒ Object
Methods included from Objects::Soap::CUD
Methods inherited from Objects::Base
Constructor Details
#initialize(client, id, properties) ⇒ Post
Returns a new instance of Post.
692 693 694 695 696 |
# File 'lib/marketingcloudsdk/objects.rb', line 692 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.
690 691 692 |
# File 'lib/marketingcloudsdk/objects.rb', line 690 def id @id end |
Class Method Details
.new(client, id, properties = nil) ⇒ Object
703 704 705 706 707 |
# File 'lib/marketingcloudsdk/objects.rb', line 703 def new client, id, properties=nil o = self.allocate o.send :initialize, client, id, properties return o.post end |
Instance Method Details
#post ⇒ Object
698 699 700 |
# File 'lib/marketingcloudsdk/objects.rb', line 698 def post super end |