aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/serializers/xml.rb
blob: 620390da6b314a3f7aaa93086775bcfd65b6e162 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module ActiveModel
  module Serializers
    module Xml
      extend ActiveSupport::Concern
      include ActiveModel::Serializable::XML

      Serializer = ActiveModel::Serializable::XML::Serializer

      included do
        ActiveSupport::Deprecation.warn "ActiveModel::Serializers::Xml is deprecated in favor of ActiveModel::Serializable::XML"
      end
    end
  end
end