class Swagger::Data::XMLObject

Public Class Methods

parse(xml_object) click to toggle source
# File lib/ruby-swagger/data/xml_object.rb, line 7
def self.parse(xml_object)
  return nil unless xml_object

  Swagger::Data::XMLObject.new.bulk_set(xml_object)
end