method

from_xml

from_xml(xml)
public

No documentation available.

# File activemodel/lib/active_model/serializers/xml.rb, line 141
      def from_xml(xml)
        self.attributes = Hash.from_xml(xml).values.first
        self
      end