Method: ActiveMerchant::Billing::DeepstackGateway#capture

Defined in:
lib/active_merchant/billing/gateways/deepstack.rb

#capture(money, authorization, options = {}) ⇒ Object



43
44
45
46
47
48
# File 'lib/active_merchant/billing/gateways/deepstack.rb', line 43

def capture(money, authorization, options = {})
  post = {}
  add_invoice(post, money, authorization, options)

  commit('capture', post)
end