Class: Swagger::Data::XMLObject
- Defined in:
- lib/ruby-swagger/data/xml_object.rb
Overview
Class Method Summary collapse
Methods inherited from Object
attr_swagger, #bulk_set, #swagger_attributes, #to_json, #to_swagger, #to_yaml
Class Method Details
.parse(xml_object) ⇒ Object
7 8 9 10 11 |
# 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 |