1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[dnsimple] remove host from request

This commit is contained in:
Jose Luis Salas 2013-11-25 13:58:42 +01:00
parent 1c2ae5f527
commit 1c8fa3960c

View file

@ -85,7 +85,7 @@ module Fog
"Accept" => "application/json",
"Content-Type" => "application/json" })
response = @connection.request(params.merge!({:host => @host}))
response = @connection.request(params)
unless response.body.empty?
response.body = Fog::JSON.decode(response.body)