Class: MarketingCloudSDK::Campaign
- Inherits:
-
Objects::Base
- Object
- Objects::Base
- MarketingCloudSDK::Campaign
- Includes:
- Objects::Rest::CUD, Objects::Rest::Read
- Defined in:
- lib/marketingcloudsdk/objects.rb
Defined Under Namespace
Classes: Asset
Instance Attribute Summary
Attributes inherited from Objects::Base
Instance Method Summary collapse
Methods included from Objects::Rest::CUD
Methods included from Objects::Rest::Read
Methods inherited from Objects::Base
Instance Method Details
#id ⇒ Object
642 643 644 |
# File 'lib/marketingcloudsdk/objects.rb', line 642 def id self.client.base_api_url + '/hub/v1/campaigns/%{id}' end |
#properties ⇒ Object
636 637 638 639 640 |
# File 'lib/marketingcloudsdk/objects.rb', line 636 def properties @properties ||= {} @properties.merge! 'id' => '' unless @properties.include? 'id' @properties end |