diff options
author | HombreLaser <sebastian-440@live.com> | 2023-02-21 20:00:38 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-02-21 20:00:38 -0600 |
commit | 8e6ebb538869135b4c6aaf6381ce0125b56f9eaa (patch) | |
tree | 2db69e66446501fb9bbf78052abfa4b284295c68 /app/serializers/user_account_serializer.rb | |
parent | b904941229de53660a3e37c3d0931cc3f74212bf (diff) |
Añade serializador del usuario
Diffstat (limited to 'app/serializers/user_account_serializer.rb')
-rw-r--r-- | app/serializers/user_account_serializer.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/serializers/user_account_serializer.rb b/app/serializers/user_account_serializer.rb new file mode 100644 index 0000000..9d233fd --- /dev/null +++ b/app/serializers/user_account_serializer.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +module Serializers + # The serializer for the user account model. + class UserAccountSerializer < BaseSerializer + attributes :email, :first_name, :last_name + end +end |