Class: FuelSDK::Campaign::Asset

Inherits:
Objects::Base show all
Includes:
Objects::Rest::CUD, Objects::Rest::Read
Defined in:
lib/fuelsdk/objects.rb

Instance Attribute Summary

Attributes inherited from Objects::Base

#client

Instance Method Summary collapse

Methods included from Objects::Rest::CUD

#delete, #patch, #post

Methods included from Objects::Rest::Read

#get

Methods inherited from Objects::Base

id, #props

Instance Method Details

#idObject



656
657
658
# File 'lib/fuelsdk/objects.rb', line 656

def id
	'https://www.exacttargetapis.com/hub/v1/campaigns/%{id}/assets/%{assetId}'
end

#propertiesObject



650
651
652
653
654
# File 'lib/fuelsdk/objects.rb', line 650

def properties
	@properties ||= {}
	@properties.merge! 'assetId' => '' unless @properties.include? 'assetId'
	@properties
end