Class: Afterpay::API::Payment::Capture

Inherits:
Base show all
Defined in:
lib/afterpay/api/payment/capture.rb

Instance Method Summary collapse

Methods inherited from Base

#call

Methods inherited from Callable

call

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