Sha256: 05a1a00b685d5c21338345c6b6101c630faddd8e4dc567aa137d6fee87842635
Contents?: true
Size: 465 Bytes
Versions: 13
Compression:
Stored size: 465 Bytes
Contents
module ActiveModel class Serializer module Adapter class JsonApi < DelegateClass(ActiveModelSerializers::Adapter::JsonApi) def initialize(serializer, options = {}) super(ActiveModelSerializers::Adapter::JsonApi.new(serializer, options)) end class << self extend ActiveModelSerializers::Deprecate deprecate :new, 'ActiveModelSerializers::Adapter::JsonApi.new' end end end end end
Version data entries
13 entries across 13 versions & 2 rubygems