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
3e863f1262
commit
991f34a261
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue