Class: AchClient::Abstract::AchBatch

Inherits:
Object
  • Object
show all
Defined in:
lib/ach_client/providers/abstract/ach_batch.rb

Overview

Base class for sending batched ACH transactions to various providers

Instance Method Summary collapse

Constructor Details

#initialize(ach_transactions: []) ⇒ 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_batchArray<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