mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
parent
11591b3ed9
commit
e2ac439113
2 changed files with 2 additions and 6 deletions
|
@ -7,9 +7,7 @@ module Fog
|
|||
:expects => [200],
|
||||
:method => 'POST',
|
||||
:path => "tenants",
|
||||
:body => {
|
||||
'tenant' => attributes
|
||||
}.to_json
|
||||
:body => Fog::JSON.encode({ 'tenant' => attributes })
|
||||
)
|
||||
end # def create_tenant
|
||||
end # class Real
|
||||
|
|
|
@ -7,9 +7,7 @@ module Fog
|
|||
:expects => [200],
|
||||
:method => 'PUT',
|
||||
:path => "tenants/#{id}",
|
||||
:body => {
|
||||
'tenant' => attributes
|
||||
}.to_json
|
||||
:body => Fog::JSON.encode({ 'tenant' => attributes })
|
||||
)
|
||||
end # def create_tenant
|
||||
end # class Real
|
||||
|
|
Loading…
Add table
Reference in a new issue