Sha256: fa1fe85fb30e2392d94bad1b3889d47a210e3bb90bc20b66e52a6f0565479ff7
Contents?: true
Size: 821 Bytes
Versions: 3
Compression:
Stored size: 821 Bytes
Contents
module Fog module Storage class AzureRM # This class provides the actual implementation for service calls. class Real def release_container_lease(name, lease_id, options={}) msg = "Releasing container: #{name} having lease_id #{lease_id}" Fog::Logger.debug msg begin @blob_client.release_container_lease(name, lease_id, options) rescue Azure::Core::Http::HTTPError => ex raise_azure_exception(ex, msg) end Fog::Logger.debug "Container #{name} released successfully." true end end # This class provides the mock implementation for unit tests. class Mock def release_container_lease(*) true end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems