class <%= user_class %>Serializer

include FastJsonapi::ObjectSerializer

set_type :<%= user_class.underscore %>
set_id :id
attributes :email

# link :<%= user_class.underscore %>_url do |<%= user_class.underscore %>|
#   Rails.application.routes.url_helpers.<%= user_class.underscore %>_url(<%= user_class.underscore %>, host: 'http://localhost:3000')
# end

end