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

Assign private ip parser

This commit is contained in:
joe 2013-12-13 15:42:31 -06:00
parent 67351bb795
commit 2d59819c02

View file

@ -0,0 +1,25 @@
module Fog
module Parsers
module Compute
module AWS
class AssignPrivateIpAddresses < Fog::Parsers::Base
def end_element(name)
case name
when 'requestId'
@response[name] = value
when 'return'
if value == 'true'
@response[name] = true
else
@response[name] = false
end
end
end
end
end
end
end
end