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

string -> sym

This commit is contained in:
Rodrigo Estebanez 2013-07-09 17:45:55 +02:00
parent 991f34a261
commit e3f4320362

View file

@ -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]