Class: ActiveRecord::XmlSerializer
- Inherits:
-
ActiveModel::Serializers::Xml::Serializer
- Object
- ActiveModel::Serializers::Xml::Serializer
- ActiveRecord::XmlSerializer
- Defined in:
- lib/active_record/serializers/xml_serializer.rb
Overview
:nodoc:
Defined Under Namespace
Classes: Attribute
Instance Method Summary collapse
-
#initialize(*args) ⇒ XmlSerializer
constructor
A new instance of XmlSerializer.
Constructor Details
#initialize(*args) ⇒ XmlSerializer
Returns a new instance of XmlSerializer.
181 182 183 184 |
# File 'lib/active_record/serializers/xml_serializer.rb', line 181 def initialize(*args) super [:except] = Array.wrap([:except]) | Array.wrap(@serializable.class.inheritance_column) end |