lib/fog/sakuracloud/requests/network/delete_interface.rb in fog-sakuracloud-1.4.0 vs lib/fog/sakuracloud/requests/network/delete_interface.rb in fog-sakuracloud-1.5.0
- old
+ new
@@ -9,10 +9,10 @@
:headers => {
'Authorization' => "Basic #{@auth_encode}"
},
:expects => [200],
:method => 'DELETE',
- :path => "#{Fog::SakuraCloud::SAKURACLOUD_API_ENDPOINT}/interface/#{id}"
+ :path => "#{Fog::SakuraCloud.build_endpoint(@api_zone)}/interface/#{id}"
)
end
end # Real
class Mock