Class: Paytureman::PaymentPrepared

Inherits:
PaymentWithSession show all
Defined in:
lib/payments/payment_prepared.rb

Instance Attribute Summary

Attributes inherited from Payment

#gateway, #order_id

Instance Method Summary collapse

Methods inherited from PaymentWithSession

#initialize, new_from_memento, #save_to_memento

Methods inherited from Payment

#current, #initialize, new_from_memento, new_from_payment, #save_to_memento

Constructor Details

This class inherits a constructor from Paytureman::PaymentWithSession

Instance Method Details

#blockObject



9
10
11
# File 'lib/payments/payment_prepared.rb', line 9

def block
  PaymentBlocked.new(order_id, amount, session_id, gateway)
end

#urlObject



5
6
7
# File 'lib/payments/payment_prepared.rb', line 5

def url
  payture.pay_url(session_id)
end