class Paytureman::PaymentBlocked
Public Instance Methods
charge()
click to toggle source
# File lib/payments/payment_blocked.rb, line 13 def charge if payture.charge(order_id) PaymentCharged.new(order_id, amount, session_id, gateway) else self end end
unblock()
click to toggle source
# File lib/payments/payment_blocked.rb, line 5 def unblock if payture.unblock(order_id, amount_in_cents) PaymentCancelled.new(order_id, amount, session_id, gateway) else self end end