Sha256: 84ce05412eb84370f3ccd0c1e1ba09733bea5efd7be28ff3d7b042d87af81435
Contents?: true
Size: 668 Bytes
Versions: 28
Compression:
Stored size: 668 Bytes
Contents
module AchClient class ICheckGateway ## # Transforms AccountTypes between AchClient class and the string # that ICheckGateway expects class AccountTypeTransformer < AchClient::Transformer # 'B' means Business, 'P' means Personal # 'C' means Checking, 'S' means Savings # @return [Hash {String => Class}] the mapping def self.transformer { 'PS' => AchClient::AccountTypes::PersonalSavings, 'PC' => AchClient::AccountTypes::PersonalChecking, 'BS' => AchClient::AccountTypes::BusinessSavings, 'BC' => AchClient::AccountTypes::BusinessChecking } end end end end
Version data entries
28 entries across 28 versions & 1 rubygems