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
|
||||
when 'GuestCustomizationSection'
|
||||
customizations = extract_attributes(attributes)
|
||||
@response[:href] = customizations['href']
|
||||
@response[:type] = customizations['type']
|
||||
@response[:href] = customizations[:href]
|
||||
@response[:type] = customizations[:type]
|
||||
# href looks like this:
|
||||
# "https://devlab.mdsol.com/api/vApp/vm-2bbbf556-55dc-4974-82e6-aa6e814f0b64/guestCustomizationSection/"
|
||||
@response[:id] = @response[:href].split('/')[-2]
|
||||
|
|
Loading…
Reference in a new issue