diff options
author | HombreLaser <sebastian-440@live.com> | 2023-02-24 23:25:43 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-02-24 23:25:43 -0600 |
commit | 47ea55216514f532c8e30618f621aeb93bd19eb0 (patch) | |
tree | e24901a5271f465a337623eaad456b4ae88d91dc /app/serializers | |
parent | e1a240c563b0e10e0ceae7c167fdcde752f3d865 (diff) |
Mueve de directorio los serializadores
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/base_serializer.rb | 8 | ||||
-rw-r--r-- | app/serializers/user_account_serializer.rb | 8 |
2 files changed, 0 insertions, 16 deletions
diff --git a/app/serializers/base_serializer.rb b/app/serializers/base_serializer.rb deleted file mode 100644 index bead772..0000000 --- a/app/serializers/base_serializer.rb +++ /dev/null @@ -1,8 +0,0 @@ -# frozen_string_literal: true - -module Serializers - # The father class of all serializers. - class BaseSerializer - include JSONAPI::Serializer - end -end diff --git a/app/serializers/user_account_serializer.rb b/app/serializers/user_account_serializer.rb deleted file mode 100644 index 9d233fd..0000000 --- a/app/serializers/user_account_serializer.rb +++ /dev/null @@ -1,8 +0,0 @@ -# frozen_string_literal: true - -module Serializers - # The serializer for the user account model. - class UserAccountSerializer < BaseSerializer - attributes :email, :first_name, :last_name - end -end |