Module: Fog::Compute::Terremark::Parser
- Defined in:
- lib/fog/compute/terremark/parser.rb
Instance Method Summary collapse
Instance Method Details
#parse(data) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/fog/compute/terremark/parser.rb', line 5 def parse(data) case data["type"] when "application/vnd.vmware.vcloud.vApp+xml" servers.new(data.merge!(:service => self)) else data end end |