Sha256: d96542dc11e97bb3eb965c7b177819d09f7b780d47ba9a326d83f48eb4e08d37
Contents?: true
Size: 665 Bytes
Versions: 27
Compression:
Stored size: 665 Bytes
Contents
# coding: utf-8 module Fog module Volume class SakuraCloud class Real def delete_disk( id ) request( :headers => { 'Authorization' => "Basic #{@auth_encord}" }, :expects => [200], :method => 'DELETE', :path => "#{Fog::SakuraCloud::SAKURACLOUD_API_ENDPOINT}/disk/#{id}" ) end end # Real class Mock def delete_disk( id ) response = Excon::Response.new response.status = 200 response.body = { } response end end end # SakuraCloud end # Volume end # Fog
Version data entries
27 entries across 27 versions & 4 rubygems