# File lib/fog/sakuracloud/requests/network/connect_interface_to_switch.rb, line 7 def connect_interface_to_switch( id, switch_id ) response = request( :headers => { 'Authorization' => "Basic #{@auth_encode}" }, :expects => [200], :method => 'PUT', :path => "#{Fog::SakuraCloud.build_endpoint(@api_zone)}/interface/#{id}/to/switch/#{switch_id}" ) response.body['Interface']['ID'] end