lib/sn_foil/jsonapi_serializer.rb in snfoil-rails-0.8.2 vs lib/sn_foil/jsonapi_serializer.rb in snfoil-rails-0.8.3
- old
+ new
@@ -1,15 +1,15 @@
# frozen_string_literal: true
require 'active_support/concern'
-require 'fast_jsonapi/object_serializer'
+require 'jsonapi/serializer'
module SnFoil
module JsonapiSerializer
extend ActiveSupport::Concern
included do
- include FastJsonapi::ObjectSerializer
+ include JSONAPI::Serializer
set_key_transform :dash
end
end
end