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

Fixed #875: Loosen multi_json version.

This commit is contained in:
Kevin Menard 2012-04-25 10:31:28 -04:00
parent b98f3a1ffe
commit dcefc2d7de
133 changed files with 170 additions and 190 deletions

View file

@ -52,7 +52,7 @@ module Fog
:expects => 201,
:method => "POST",
:path => "/V1.2/domains/#{domain}/records",
:body => MultiJson.dump(body)
:body => Fog::JSON.encode(body)
)
end

View file

@ -26,7 +26,7 @@ module Fog
:expects => 201,
:method => 'PUT',
:path => "/V1.2/secondary/#{secondary_name}",
:body => MultiJson.dump(body)
:body => Fog::JSON.encode(body)
)
end

View file

@ -46,7 +46,7 @@ module Fog
:expects => 200,
:method => "PUT",
:path => "/V1.2/domains/#{domain}/records/#{record_id}",
:body => MultiJson.dump(options)
:body => Fog::JSON.encode(options)
)
end

View file

@ -26,7 +26,7 @@ module Fog
:expects => 201,
:method => 'PUT',
:path => "/V1.2/secondary/#{secondary_name}",
:body => MultiJson.dump(body)
:body => Fog::JSON.encode(body)
)
end