From 753bf8499ba5d8815db8d08a1dcf69caa20660cf Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Sat, 1 Apr 2023 12:00:33 -0600 Subject: Mejora estructura del proyecto --- app/serializers/address_serializer.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 app/serializers/address_serializer.rb (limited to 'app/serializers/address_serializer.rb') diff --git a/app/serializers/address_serializer.rb b/app/serializers/address_serializer.rb new file mode 100644 index 0000000..3d51613 --- /dev/null +++ b/app/serializers/address_serializer.rb @@ -0,0 +1,6 @@ +# frozen_string_literal: true + +# AddressSerializer +class AddressSerializer < BaseSerializer + attributes :id, :number, :street, :zip_code, :country, :city +end -- cgit v1.2.3