Class: MarketingCloudSDK::Get
- Inherits:
-
Objects::Base
- Object
- Objects::Base
- MarketingCloudSDK::Get
- Includes:
- Objects::Soap::Read
- Defined in:
- lib/marketingcloudsdk/objects.rb
Overview
Direct Verb Access Section
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
Attributes included from Objects::Soap::Read
Attributes inherited from Objects::Base
Class Method Summary collapse
Instance Method Summary collapse
- #get ⇒ Object
-
#initialize(client, id, properties, filter) ⇒ Get
constructor
A new instance of Get.
Methods included from Objects::Soap::Read
Methods inherited from Objects::Base
Constructor Details
#initialize(client, id, properties, filter) ⇒ Get
Returns a new instance of Get.
668 669 670 671 672 673 |
# File 'lib/marketingcloudsdk/objects.rb', line 668 def initialize client, id, properties, filter self.properties = properties self.filter = filter self.client = client self.id = id end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
666 667 668 |
# File 'lib/marketingcloudsdk/objects.rb', line 666 def id @id end |
Class Method Details
.new(client, id, properties = nil, filter = nil) ⇒ Object
680 681 682 683 684 |
# File 'lib/marketingcloudsdk/objects.rb', line 680 def new client, id, properties=nil, filter=nil o = self.allocate o.send :initialize, client, id, properties, filter return o.get end |
Instance Method Details
#get ⇒ Object
675 676 677 |
# File 'lib/marketingcloudsdk/objects.rb', line 675 def get super id end |