1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/rackspace/requests/cdn_v2/delete_assets.rb
2015-01-06 11:13:35 -05:00

12 lines
282 B
Ruby

class Fog::Rackspace::CDNV2::Real
def delete_assets(service, options={})
uri = request_uri("services/#{service.id}/assets", options)
request(
:expects => 202,
:method => 'DELETE',
:path => uri,
:headers => { :accept => "*/*" }
)
end
end