it's xml, not json

change docs for xml serializer to talk about xml
This commit is contained in:
John Gesimondo 2013-07-13 16:25:04 -07:00
parent 4f8168ec58
commit 0e945f8909

@ -205,7 +205,7 @@ def to_xml(options = {}, &block)
Serializer.new(self, options).serialize(&block)
end
# Sets the model +attributes+ from a JSON string. Returns +self+.
# Sets the model +attributes+ from an XML string. Returns +self+.
#
# class Person
# include ActiveModel::Serializers::Xml