diff options
author | HombreLaser <sebastian-440@live.com> | 2023-03-22 20:24:20 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-03-22 20:24:20 -0600 |
commit | e04c9e0fe1b9df2e8e40b87c8a272874192a8d07 (patch) | |
tree | b724bf79034c4f4f9e3ba4ab656b417bc48be575 /app/controllers/serializers | |
parent | 25fd0c4da93d664747eb5e6eca25413cead97452 (diff) |
Añade AddressesController
Diffstat (limited to 'app/controllers/serializers')
-rw-r--r-- | app/controllers/serializers/address_serializer.rb | 8 |
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 |