summaryrefslogtreecommitdiff
path: root/app/serializers/address_serializer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/serializers/address_serializer.rb')
-rw-r--r--app/serializers/address_serializer.rb6
1 files changed, 6 insertions, 0 deletions
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