client/lib/deltacloud/client/models/base.rb
# Convert response for the collection responses.
#
Convert response for the collection responses.
Convert response for the collection responses .
def from_collection(client_ref, response)
        response.body.to_xml.xpath('/*/*').map do |entity|
          convert(client_ref, entity)
        end
      end
def from_collection ( client_ref , response ) response . body . to_xml . xpath ( '/*/*' ) . map do | entity | convert ( client_ref , entity ) end end
Convert response for the collection responses.
Convert response for the collection responses .
client_ref
<not_specific>
response
<not_specific>