module Restful::Jsonapi::ActiveModelSerializer

Public Instance Methods

type() click to toggle source
# File lib/restful/jsonapi/active_model_serializer.rb, line 7
def type
  object.class.model_name.name.demodulize.pluralize.underscore
end