Sha256: 86472e8368abb9b0e3e7b9e368d2c7b6a40f2fcda63b7ff867a1e5dc298d723a

Contents?: true

Size: 487 Bytes

Versions: 1

Compression:

Stored size: 487 Bytes

Contents

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
      end

      # This class provides the mock implementation for unit tests.
      class Mock
        def delete_object(*)
          Fog::Logger.debug 'Blob deleted successfully.'
          true
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gitlab-fog-azure-rm-1.5.0 lib/fog/azurerm/requests/storage/delete_object.rb