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:26:42 +02:00
parent 3e863f1262
commit 991f34a261

View file

@ -74,13 +74,13 @@ module Fog
case name
when 'NetworkConnectionSection'
network_connection_section = extract_attributes(attributes)
@response[:type] = network_connection_section['type']
@response[:href] = network_connection_section['href']
@response[:type] = network_connection_section[:type]
@response[:href] = network_connection_section[:href]
@response[:id] = @response[:href].split('/')[-2]
when 'NetworkConnection'
network_connection = extract_attributes(attributes)
@response[:network] = network_connection['network']
@response[:needs_customization] = ( network_connection['needsCustomization'] == "true" )
@response[:network] = network_connection[:network]
@response[:needs_customization] = ( network_connection[:needsCustomization] == "true" )
end
end