Sha256: 0f33f8bb242460222cd23562787a0a294571f906c93a0e0df92a41a91d00a9d2
Contents?: true
Size: 560 Bytes
Versions: 30
Compression:
Stored size: 560 Bytes
Contents
module AchClient class Sftp ## # Transforms AccountTypes between AchClient class and the string # that NACHA expects class AccountTypeTransformer < AchClient::Transformer # '2' means Checking, '3' means Savings # The account type string is the first character in the transaction_code # field. # @return [Hash {String => Class}] the mapping def self.transformer { '3' => AchClient::AccountTypes::Savings, '2' => AchClient::AccountTypes::Checking } end end end end
Version data entries
30 entries across 30 versions & 1 rubygems