mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
string -> sym
This commit is contained in:
parent
991f34a261
commit
e3f4320362
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@ module Fog
|
||||||
case name
|
case name
|
||||||
when 'GuestCustomizationSection'
|
when 'GuestCustomizationSection'
|
||||||
customizations = extract_attributes(attributes)
|
customizations = extract_attributes(attributes)
|
||||||
@response[:href] = customizations['href']
|
@response[:href] = customizations[:href]
|
||||||
@response[:type] = customizations['type']
|
@response[:type] = customizations[:type]
|
||||||
# href looks like this:
|
# href looks like this:
|
||||||
# "https://devlab.mdsol.com/api/vApp/vm-2bbbf556-55dc-4974-82e6-aa6e814f0b64/guestCustomizationSection/"
|
# "https://devlab.mdsol.com/api/vApp/vm-2bbbf556-55dc-4974-82e6-aa6e814f0b64/guestCustomizationSection/"
|
||||||
@response[:id] = @response[:href].split('/')[-2]
|
@response[:id] = @response[:href].split('/')[-2]
|
||||||
|
|
Loading…
Reference in a new issue