mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[dreamhost|dns] drop uuid gem requirements, not needed
Not sure to understand unique_id documentation from Dreamhost, but experimentation shows that a new UUID every request isn't required and Dreamhost says it's optional. http://wiki.dreamhost.com/Application_programming_interface#Required
This commit is contained in:
parent
e469d70eaf
commit
3ba2f45cd9
1 changed files with 1 additions and 3 deletions
|
@ -1,6 +1,5 @@
|
|||
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'dreamhost'))
|
||||
require 'fog/dns'
|
||||
require 'uuid'
|
||||
|
||||
module Fog
|
||||
module DNS
|
||||
|
@ -70,8 +69,7 @@ module Fog
|
|||
|
||||
def request(params)
|
||||
params[:query].merge!( { :key => @dreamhost_api_key,
|
||||
:format => 'json',
|
||||
:unique_id => UUID.generate } )
|
||||
:format => 'json' } )
|
||||
response = @connection.request(params)
|
||||
|
||||
unless response.body.empty?
|
||||
|
|
Loading…
Reference in a new issue