Module: JSONAPI::EmberSerializer

Defined in:
lib/jsonapi/ember_serializer.rb

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


6
7
8
9
10
11
12
13
14
15
# File 'lib/jsonapi/ember_serializer.rb', line 6

def self.included(base)
  base.class_eval do
    include Serializer

    alias type_for_link type
    alias format_name_for_link format_name

    include InstanceMethods
  end
end