Method: PaymentRails::InvoicePaymentGateway#create

Defined in:
lib/paymentrails/gateways/InvoicePaymentGateway.rb

#create(body) ⇒ Object



12
13
14
15
# File 'lib/paymentrails/gateways/InvoicePaymentGateway.rb', line 12

def create(body)
  response = @client.post('/v1/invoices/payment/create', body)
  invoice_payment_builder(response)
end