2018-02-11 13:12:37 -08:00

7 lines
166 B
Plaintext

<% module_namespacing do -%>
class <%= class_name %>Serializer
include FastJsonapi::ObjectSerializer
attributes <%= attributes_names.join(", ") %>
end
<% end -%>