summaryrefslogtreecommitdiff
path: root/app/controllers/serializers
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-03-22 20:24:20 -0600
committerHombreLaser <sebastian-440@live.com>2023-03-22 20:24:20 -0600
commite04c9e0fe1b9df2e8e40b87c8a272874192a8d07 (patch)
treeb724bf79034c4f4f9e3ba4ab656b417bc48be575 /app/controllers/serializers
parent25fd0c4da93d664747eb5e6eca25413cead97452 (diff)
Añade AddressesController
Diffstat (limited to 'app/controllers/serializers')
-rw-r--r--app/controllers/serializers/address_serializer.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/controllers/serializers/address_serializer.rb b/app/controllers/serializers/address_serializer.rb
new file mode 100644
index 0000000..0956719
--- /dev/null
+++ b/app/controllers/serializers/address_serializer.rb
@@ -0,0 +1,8 @@
+# frozen_string_literal: true
+
+module Serializers
+ # AddressSerializer
+ class AddressSerializer < BaseSerializer
+ attributes :id, :number, :zip_code, :country, :city
+ end
+end