summaryrefslogtreecommitdiff
path: root/app/controllers/serializers
diff options
context:
space:
mode:
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