Sha256: 2c7a7e0eadcc4419a9480887d10a44e62d9382b538cb100ba45584c2e46a0ea3
Contents?: true
Size: 325 Bytes
Versions: 12
Compression:
Stored size: 325 Bytes
Contents
# frozen_string_literal: true module Bckbn module Transaction Card = Struct.new(*%i[type number exp_date card_validation_num], keyword_init: true) do def initialize(opts) valid_opts = opts.slice(*members) valid_opts.each { |key, value| public_send("#{key}=", value) } end end end end
Version data entries
12 entries across 12 versions & 1 rubygems