Sha256: 97a823e7af8221038ae9c4320ebf96c3d64cf53fc1f6df9687138b8319ea6e35
Contents?: true
Size: 673 Bytes
Versions: 13
Compression:
Stored size: 673 Bytes
Contents
# coding: utf-8 module Fog module Network class SakuraCloud class Real def delete_switch( id ) request( :headers => { 'Authorization' => "Basic #{@auth_encode}" }, :expects => [200], :method => 'DELETE', :path => "#{Fog::SakuraCloud.build_endpoint(@api_zone)}/switch/#{id}" ) end end # Real class Mock def delete_switch( id ) response = Excon::Response.new response.status = 200 response.body = { } response end end end # SakuraCloud end # Network end # Fog
Version data entries
13 entries across 11 versions & 2 rubygems