Module: MarketingCloudSDK::Objects::Rest::CUD

Included in:
Campaign, Campaign::Asset
Defined in:
lib/marketingcloudsdk/objects.rb

Instance Method Summary collapse

Instance Method Details

#deleteObject



138
139
140
# File 'lib/marketingcloudsdk/objects.rb', line 138

def delete
	client.rest_delete id, properties
end

#patchObject



134
135
136
# File 'lib/marketingcloudsdk/objects.rb', line 134

def patch
	client.rest_patch id, properties
end

#postObject



130
131
132
# File 'lib/marketingcloudsdk/objects.rb', line 130

def post
	client.rest_post id, properties
end