diff options
Diffstat (limited to 'app/controllers/serializers/card_serializer.rb')
-rw-r--r-- | app/controllers/serializers/card_serializer.rb | 8 |
1 files changed, 8 insertions, 0 deletions
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 |