Sha256: 665d16c55e0f1d564775a99693d2dbeedeb79028530ab66221a8f1b206409547

Contents?: true

Size: 337 Bytes

Versions: 12

Compression:

Stored size: 337 Bytes

Contents

# frozen_string_literal: true

module Bckbn
  module Transaction
    CardholderAuthentication = Struct.new(
      *%i[authentication_value], 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

Version Path
bckbn-3.0.1 lib/bckbn/resources/transactions/models/cardholder_authentication.rb
bckbn-3.0.0 lib/bckbn/resources/transaction/models/cardholder_authentication.rb
bckbn-2.2.1 lib/bckbn/resources/transaction/models/cardholder_authentication.rb
bckbn-2.1.1 lib/bckbn/resources/transaction/models/cardholder_authentication.rb
bckbn-2.1.0 lib/bckbn/resources/transaction/models/cardholder_authentication.rb
bckbn-2.0.0 lib/bckbn/resources/transaction/models/cardholder_authentication.rb
bckbn-1.1.0 lib/bckbn/resources/transaction/models/cardholder_authentication.rb
bckbn-1.0.0 lib/bckbn/resources/transaction/models/cardholder_authentication.rb
bckbn-0.2.0 lib/bckbn/resources/transaction/models/cardholder_authentication.rb
bckbn-0.1.2 lib/bckbn/resources/transaction/models/cardholder_authentication.rb
bckbn-0.1.1 lib/bckbn/resources/transaction/models/cardholder_authentication.rb
bckbn-0.1.0 lib/bckbn/resources/transaction/models/cardholder_authentication.rb