mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[dreamhost|dns] remove silly debugging code
This commit is contained in:
parent
05371c5a6a
commit
2650d6d53b
1 changed files with 0 additions and 10 deletions
|
@ -68,7 +68,6 @@ module Fog
|
|||
end
|
||||
|
||||
def request(params)
|
||||
#response = @connection.request(params.merge!({:host => @host}))
|
||||
params[:query].merge!( { :key => @dreamhost_api_key,
|
||||
:format => 'json',
|
||||
:unique_id => UUID.generate } )
|
||||
|
@ -77,15 +76,6 @@ module Fog
|
|||
unless response.body.empty?
|
||||
response.body = MultiJson.decode(response.body)
|
||||
end
|
||||
if ENV['DEBUG_DREAMHOST']
|
||||
require 'pp'
|
||||
puts "--- REQUEST PARAMS ---"
|
||||
pp params
|
||||
puts "--- END PARAMS --- "
|
||||
puts "--- REQUEST RESPONSE ---"
|
||||
pp response
|
||||
puts "--- END RESPONSE --- "
|
||||
end
|
||||
if response.body['result'] != 'success'
|
||||
raise response.body['data']
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue