Class: Bckbn::Transaction::BillingAddress
- Inherits:
-
Struct
- Object
- Struct
- Bckbn::Transaction::BillingAddress
- Defined in:
- lib/bckbn/resources/transactions/models/billing_address.rb
Instance Method Summary collapse
-
#initialize(opts) ⇒ BillingAddress
constructor
A new instance of BillingAddress.
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 |