Sha256: dae6a618acc8202bf23089cf3e0ed6066e115cc246853fa787b319c3c6226a35

Contents?: true

Size: 411 Bytes

Versions: 4

Compression:

Stored size: 411 Bytes

Contents

module Fog
  module Parsers
    module XenServer
      class GetStorageRepositories < Fog::Parsers::XenServer::Base

        def reset
          @response = []
        end

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

      end

    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
fog-xenserver-0.0.1.alpha2 lib/fog/xenserver/parsers/get_storage_repositories.rb
fog-xenserver-0.0.1.alpha lib/fog/xenserver/parsers/get_storage_repositories.rb
fog-1.22.0 lib/fog/xenserver/parsers/get_storage_repositories.rb
fog-1.21.0 lib/fog/xenserver/parsers/get_storage_repositories.rb