From 8e6ebb538869135b4c6aaf6381ce0125b56f9eaa Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Tue, 21 Feb 2023 20:00:38 -0600 Subject: AƱade serializador del usuario MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/serializers/user_account_serializer.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 app/serializers/user_account_serializer.rb (limited to 'app/serializers/user_account_serializer.rb') 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 -- cgit v1.2.3