Class: MarketingCloudSDK::Campaign::Asset
- Inherits:
-
Objects::Base
- Object
- Objects::Base
- MarketingCloudSDK::Campaign::Asset
- Includes:
- Objects::Rest::CUD, Objects::Rest::Read
- Defined in:
- lib/marketingcloudsdk/objects.rb
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
656 657 658 |
# File 'lib/marketingcloudsdk/objects.rb', line 656 def id self.client.base_api_url + '/hub/v1/campaigns/%{id}/assets/%{assetId}' end |
#properties ⇒ Object
650 651 652 653 654 |
# File 'lib/marketingcloudsdk/objects.rb', line 650 def properties @properties ||= {} @properties.merge! 'assetId' => '' unless @properties.include? 'assetId' @properties end |