lib/pagarme/resources/subscription.rb in pagarme-2.1.4 vs lib/pagarme/resources/subscription.rb in pagarme-2.2.0
- old
+ new
@@ -17,9 +17,13 @@
def cancel
update PagarMe::Request.post( url 'cancel' ).run
end
+ def settle_charge
+ update PagarMe::Request.post( url 'settle_charge' ).run
+ end
+
def transactions
PagarMe::Request.get( url 'transactions' ).call
end
def charge(amount, installments = 1)