lib/moip2/payment_api.rb in moip2-1.2.1 vs lib/moip2/payment_api.rb in moip2-1.3.1

- old
+ new

@@ -19,7 +19,11 @@ end def void(payment_id) Resource::Payment.new client.post("/v2/payments/#{payment_id}/void", nil) end + + def release(escrow_id) + Resource::Escrow.new client.post("/v2/escrows/#{escrow_id}/release", nil) + end end end