Methods

Class/Module Index [+]

Quicksearch

Fog::Terremark::Shared::Parser

Public Instance Methods

parse(data) click to toggle source
# File lib/fog/terremark/shared.rb, line 23
def parse(data)
  case data['type']
  when 'application/vnd.vmware.vcloud.vApp+xml'
    servers.new(data.merge!(:service => self))
  else
    data
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.