Class: MarketingCloudSDK::Objects::Base
- Inherits:
-
Object
- Object
- MarketingCloudSDK::Objects::Base
- Defined in:
- lib/marketingcloudsdk/objects.rb
Direct Known Subclasses
BounceEvent, Campaign, Campaign::Asset, ClickEvent, ContentArea, DataExtension, DataExtension::Column, DataExtension::Row, DataFolder, Delete, Email, Email::SendDefinition, Get, Import, List, List::Subscriber, MarketingCloudSDK::OpenEvent, Patch, Post, ProfileAttribute, SentEvent, Subscriber, TriggeredSend, UnsubEvent
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#properties ⇒ Object
Returns the value of attribute properties.
Class Method Summary collapse
Instance Method Summary collapse
-
#props ⇒ Object
Backwards compatibility.
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
146 147 148 |
# File 'lib/marketingcloudsdk/objects.rb', line 146 def client @client end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
147 148 149 |
# File 'lib/marketingcloudsdk/objects.rb', line 147 def id @id end |
#properties ⇒ Object
Returns the value of attribute properties.
146 147 148 |
# File 'lib/marketingcloudsdk/objects.rb', line 146 def properties @properties end |
Class Method Details
.id ⇒ Object
167 168 169 |
# File 'lib/marketingcloudsdk/objects.rb', line 167 def id self.name.split('::').pop end |
Instance Method Details
#props ⇒ Object
Backwards compatibility
158 159 160 |
# File 'lib/marketingcloudsdk/objects.rb', line 158 def props @properties end |