Method: Fog::Parsers::XenServer::GetVIFs#parse

Defined in:
lib/fog/xenserver/parsers/get_vifs.rb

#parse(data) ⇒ Object



10
11
12
13
# File 'lib/fog/xenserver/parsers/get_vifs.rb', line 10

def parse( data )
  parser = Fog::Parsers::XenServer::Base.new
  data.each_pair {|reference, vif_hash| @response << parser.parse( vif_hash ).merge(:reference => reference) }
end