Class: FuelSDK::Campaign

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

Defined Under Namespace

Classes: Asset

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



642
643
644
# File 'lib/fuelsdk/objects.rb', line 642

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

#propertiesObject



636
637
638
639
640
# File 'lib/fuelsdk/objects.rb', line 636

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