From efc5eb10894fc95487c55628b94024e97cd60139 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Mon, 27 Mar 2023 20:41:55 -0600 Subject: AƱade CardsController MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/serializers/card_serializer.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 app/controllers/serializers/card_serializer.rb (limited to 'app/controllers/serializers') diff --git a/app/controllers/serializers/card_serializer.rb b/app/controllers/serializers/card_serializer.rb new file mode 100644 index 0000000..ba97443 --- /dev/null +++ b/app/controllers/serializers/card_serializer.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +module Serializers + # CardSerializer + class CardSerializer < BaseSerializer + attributes :id, :number, :expiration_year, :expiration_month, :expiration_day, :security_code + end +end -- cgit v1.2.3