Class: Bckbn::Transaction::Payment
- Inherits:
-
Struct
- Object
- Struct
- Bckbn::Transaction::Payment
- Defined in:
- lib/bckbn/resources/transactions/models/payment.rb
Instance Method Summary collapse
-
#initialize(opts) ⇒ Payment
constructor
A new instance of Payment.
Constructor Details
#initialize(opts) ⇒ Payment
Returns a new instance of Payment.
18 19 20 21 |
# File 'lib/bckbn/resources/transactions/models/payment.rb', line 18 def initialize(opts) valid_opts = opts.slice(*members) valid_opts.each { |key, value| public_send("#{key}=", value) } end |