Sha256: 1a781210f458af9ef86cf90383aac301e6967d7236977ffa2bdad3962dce8802
Contents?: true
Size: 496 Bytes
Versions: 8
Compression:
Stored size: 496 Bytes
Contents
# frozen_string_literal: true 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
8 entries across 8 versions & 2 rubygems