Class: Afterpay::API::Payment::Capture
- Defined in:
- lib/afterpay/api/payment/capture.rb
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Capture
constructor
A new instance of Capture.
Methods inherited from Base
Methods inherited from Callable
Constructor Details
#initialize(params = {}) ⇒ Capture
Returns a new instance of Capture.
7 8 9 |
# File 'lib/afterpay/api/payment/capture.rb', line 7 def initialize(params = {}) @payment = params[:payment] end |