Method: ActiveMerchant::Billing::NetbillingGateway#capture

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

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



65
66
67
68
69
# File 'lib/active_merchant/billing/gateways/netbilling.rb', line 65

def capture(money, authorization, options = {})
  post = {}
  add_reference(post, authorization)
  commit(:capture, post)
end