Class: MarketingCloudSDK::Get

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

Overview

Direct Verb Access Section

Instance Attribute Summary collapse

Attributes included from Objects::Soap::Read

#filter

Attributes inherited from Objects::Base

#client, #properties

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Objects::Soap::Read

#info

Methods inherited from Objects::Base

id, #props

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

#idObject

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

#getObject



675
676
677
# File 'lib/marketingcloudsdk/objects.rb', line 675

def get
	super id
end