Method: Akamaized::Connection#delete!

Defined in:
lib/akamaized/connection.rb

#delete!(file, location = nil) ⇒ Object

Calls the delete method, however, will raise an exception if there was an issue whereas “delete” itself will swallow all errors

Raises:



89
90
91
# File 'lib/akamaized/connection.rb', line 89

def delete!(file, location = nil)
  raise DeleteError.new(file) unless delete(file, location)
end