Module: JSONAPI::Serializer

Defined in:
lib/jsonapi/serializer.rb,
lib/jsonapi/serializer/errors.rb,
lib/jsonapi/serializer/version.rb,
lib/jsonapi/serializer/instrumentation.rb

Defined Under Namespace

Modules: Instrumentation Classes: Error, UnsupportedIncludeError

Constant Summary collapse

VERSION =
'2.2.2'.freeze

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

TODO: Move and cleanup the old implementation…



6
7
8
9
10
# File 'lib/jsonapi/serializer.rb', line 6

def self.included(base)
  base.class_eval do
    include FastJsonapi::ObjectSerializer
  end
end