API v1 user endpoint

This commit is contained in:
wvengen 2018-10-13 15:15:43 +02:00 committed by wvengen
parent fd96b6ccc1
commit 110c7cc3e9
7 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,3 @@
class UserSerializer < ActiveModel::Serializer
attributes :id, :name, :email, :locale
end