active_model_serializers/lib/active_model_serializers/deserialization.rb
Yohan Robert dd94fe2163 Follow up to #1535
- The removed classes and modules were added back with deprecation
  warning and deprecation test were added for them.
- One test was renamed because it contained `__`.
- Some tests were refactored.
- The ActiveModelSerializers::Deserialization module is now called
  Adapter instead of ActiveModelSerializers::Adapter.
- The changelog was added for #1535
2016-03-06 23:15:39 -06:00

14 lines
269 B
Ruby

module ActiveModelSerializers
module Deserialization
module_function
def jsonapi_parse(*args)
Adapter::JsonApi::Deserialization.parse(*args)
end
def jsonapi_parse!(*args)
Adapter::JsonApi::Deserialization.parse!(*args)
end
end
end