From 47ea55216514f532c8e30618f621aeb93bd19eb0 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Fri, 24 Feb 2023 23:25:43 -0600 Subject: Mueve de directorio los serializadores --- app/controllers/serializers/user_account_serializer.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 app/controllers/serializers/user_account_serializer.rb (limited to 'app/controllers/serializers/user_account_serializer.rb') diff --git a/app/controllers/serializers/user_account_serializer.rb b/app/controllers/serializers/user_account_serializer.rb new file mode 100644 index 0000000..09379c4 --- /dev/null +++ b/app/controllers/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, :role + end +end -- cgit v1.2.3