# frozen_string_literal: true <% module_namespacing do -%> class <%= class_name %>Serializer < ApplicationSerializer <% attributes.each do |attribute| -%> attribute :<%= attribute.name %>, predicate: LinkedRails.app_vocab[:<%= attribute.name %>] <% end -%> end <% end -%>