Class: Fog::Parsers::Terremark::PublicIp
- Defined in:
- lib/fog/parsers/terremark/public_ip.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#end_element(name) ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/fog/parsers/terremark/public_ip.rb', line 9 def end_element(name) case name when "Href", "Name" @response[name.downcase] = value when "Id" @response["id"] = value.to_i end end |
#reset ⇒ Object
5 6 7 |
# File 'lib/fog/parsers/terremark/public_ip.rb', line 5 def reset @response = {} end |