Sha256: 1fe4dcfa1edf22eac2b3f3dbb1210b1d209d5f768af8c8b8a475f87b121e2f8e
Contents?: true
Size: 361 Bytes
Versions: 12
Compression:
Stored size: 361 Bytes
Contents
# frozen_string_literal: true module Bckbn module Transaction BillingAddress = Struct.new( *%i[name address_line_1 city state country zip email phone], 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