Class: EmptyAcquirer
- Inherits:
-
Object
- Object
- EmptyAcquirer
- Defined in:
- app/acquirers/empty_acquirer.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Transaction
Instance Method Summary collapse
-
#initialize(*args) ⇒ EmptyAcquirer
constructor
A new instance of EmptyAcquirer.
- #transaction(payment) {|Transaction.new(payment)| ... } ⇒ Object
Constructor Details
#initialize(*args) ⇒ EmptyAcquirer
Returns a new instance of EmptyAcquirer.
2 3 |
# File 'app/acquirers/empty_acquirer.rb', line 2 def initialize(*args) end |
Instance Method Details
#transaction(payment) {|Transaction.new(payment)| ... } ⇒ Object
31 32 33 |
# File 'app/acquirers/empty_acquirer.rb', line 31 def transaction(payment, &block) yield Transaction.new(payment) end |