Sha256: 2435cabb8f5b55725999a7251ad15efee79fe3f9022fef912a6e070f8ac31a08

Contents?: true

Size: 325 Bytes

Versions: 12

Compression:

Stored size: 325 Bytes

Contents

# frozen_string_literal: true

module Bckbn
  module Transaction
    Echeck = Struct.new(*%i[acc_type acc_num routing_num check_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

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