Class: Bckbn::Transaction::BillingAddress

Inherits:
Struct
  • Object
show all
Defined in:
lib/bckbn/resources/transactions/models/billing_address.rb

Instance Method Summary collapse

Constructor Details

#initialize(opts) ⇒ BillingAddress

Returns a new instance of BillingAddress.



8
9
10
11
# File 'lib/bckbn/resources/transactions/models/billing_address.rb', line 8

def initialize(opts)
  valid_opts = opts.slice(*members)
  valid_opts.each { |key, value| public_send("#{key}=", value) }
end