Class: AchClient::SiliconValleyBank::AchFilenameBuilder
- Inherits:
-
Object
- Object
- AchClient::SiliconValleyBank::AchFilenameBuilder
- Defined in:
- lib/ach_client/providers/sftp/silicon_valley_bank/ach_filename_builder.rb
Overview
Class for dealing with SVB's file naming conventions
Class Method Summary collapse
-
.next_file_name ⇒ String
Connects to the remote server, and finds the next valid filename you can use for upload Starts with “ACHP” Followed by formatted date Followed by “Sequence Number”, see below This strategy will be a problem if we are ever sending ACH batches concurrently.
Class Method Details
.next_file_name ⇒ String
Connects to the remote server, and finds the next valid filename you can use for upload Starts with “ACHP” Followed by formatted date Followed by “Sequence Number”, see below This strategy will be a problem if we are ever sending ACH batches concurrently
14 15 16 17 |
# File 'lib/ach_client/providers/sftp/silicon_valley_bank/ach_filename_builder.rb', line 14 def self.next_file_name # ACHP means it is an ACH. "ACHP#{file_date}#{sequence_number}" end |