From e04c9e0fe1b9df2e8e40b87c8a272874192a8d07 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Wed, 22 Mar 2023 20:24:20 -0600 Subject: AƱade AddressesController MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/serializers/address_serializer.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 app/controllers/serializers/address_serializer.rb (limited to 'app/controllers/serializers') 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 -- cgit v1.2.3