Class: EmptyAcquirer::Transaction
- Inherits:
-
Object
- Object
- EmptyAcquirer::Transaction
- Defined in:
- app/acquirers/empty_acquirer.rb
Instance Method Summary collapse
- #authorize ⇒ Object
- #confirm ⇒ Object
- #error ⇒ Object
- #id ⇒ Object
-
#initialize(payment) ⇒ Transaction
constructor
A new instance of Transaction.
- #reverse ⇒ Object
Constructor Details
#initialize(payment) ⇒ Transaction
Returns a new instance of Transaction.
6 7 8 |
# File 'app/acquirers/empty_acquirer.rb', line 6 def initialize(payment) @payment = payment end |
Instance Method Details
#authorize ⇒ Object
14 15 16 |
# File 'app/acquirers/empty_acquirer.rb', line 14 def true end |
#confirm ⇒ Object
22 23 24 |
# File 'app/acquirers/empty_acquirer.rb', line 22 def confirm true end |
#error ⇒ Object
26 27 28 |
# File 'app/acquirers/empty_acquirer.rb', line 26 def error nil end |
#id ⇒ Object
10 11 12 |
# File 'app/acquirers/empty_acquirer.rb', line 10 def id "0" end |
#reverse ⇒ Object
18 19 20 |
# File 'app/acquirers/empty_acquirer.rb', line 18 def reverse true end |