foodsoft/app/serializers/user_serializer.rb

4 lines
92 B
Ruby
Raw Permalink Normal View History

2018-10-13 15:15:43 +02:00
class UserSerializer < ActiveModel::Serializer
attributes :id, :name, :email, :locale
end