Class: FuelSDK::Objects::Base
- Inherits:
-
Object
- Object
- FuelSDK::Objects::Base
- Defined in:
- lib/fuelsdk/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, FuelSDK::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/fuelsdk/objects.rb', line 146 def client @client end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
147 148 149 |
# File 'lib/fuelsdk/objects.rb', line 147 def id @id end |
#properties ⇒ Object
Returns the value of attribute properties.
146 147 148 |
# File 'lib/fuelsdk/objects.rb', line 146 def properties @properties end |
Class Method Details
.id ⇒ Object
167 168 169 |
# File 'lib/fuelsdk/objects.rb', line 167 def id self.name.split('::').pop end |
Instance Method Details
#props ⇒ Object
Backwards compatibility
158 159 160 |
# File 'lib/fuelsdk/objects.rb', line 158 def props @properties end |