Method: Fog::Parsers::XenServer::GetVBDs#parse

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

#parse(data) ⇒ Object



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

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