Class: AchClient::Abstract::AchBatch
- Inherits:
-
Object
- Object
- AchClient::Abstract::AchBatch
- Defined in:
- lib/ach_client/providers/abstract/ach_batch.rb
Overview
Base class for sending batched ACH transactions to various providers
Direct Known Subclasses
AchClient::AchWorks::AchBatch, ICheckGateway::AchBatch, Sftp::AchBatch
Instance Method Summary collapse
-
#initialize(ach_transactions: []) ⇒ AchBatch
constructor
A new instance of AchBatch.
-
#send_batch ⇒ Array<String>
Sends the batch to the provider, and returns a tracking identifier processing later on.
Constructor Details
#initialize(ach_transactions: []) ⇒ AchBatch
Returns a new instance of AchBatch.
10 11 12 |
# File 'lib/ach_client/providers/abstract/ach_batch.rb', line 10 def initialize(ach_transactions: []) @ach_transactions = ach_transactions end |
Instance Method Details
#send_batch ⇒ Array<String>
Sends the batch to the provider, and returns a tracking identifier processing later on.
18 19 20 |
# File 'lib/ach_client/providers/abstract/ach_batch.rb', line 18 def send_batch raise AbstractMethodError end |