lib/fog/azurerm/requests/storage/delete_object.rb in gitlab-fog-azure-rm-1.5.0 vs lib/fog/azurerm/requests/storage/delete_object.rb in gitlab-fog-azure-rm-1.6.0
- old
+ new
@@ -1,20 +1,15 @@
module Fog
module Storage
class AzureRM
# This class provides the actual implementation for service calls.
class Real
- def delete_object(container_name, blob_name)
- delete_blob(container_name, blob_name)
- end
+ alias delete_object delete_blob
end
# This class provides the mock implementation for unit tests.
class Mock
- def delete_object(*)
- Fog::Logger.debug 'Blob deleted successfully.'
- true
- end
+ alias delete_object delete_blob
end
end
end
end