Class: AchClient::ICheckGateway::AccountTypeTransformer
- Inherits:
-
Transformer
- Object
- Transformer
- AchClient::ICheckGateway::AccountTypeTransformer
- Defined in:
- lib/ach_client/providers/soap/i_check_gateway/account_type_transformer.rb
Overview
Transforms AccountTypes between AchClient class and the string that ICheckGateway expects
Class Method Summary collapse
-
.transformer ⇒ Hash {String => Class}
‘B’ means Business, ‘P’ means Personal ‘C’ means Checking, ‘S’ means Savings.
Methods inherited from Transformer
deserialize_provider_value, serialize_to_provider_value
Class Method Details
.transformer ⇒ Hash {String => Class}
‘B’ means Business, ‘P’ means Personal ‘C’ means Checking, ‘S’ means Savings
10 11 12 13 14 15 16 17 |
# File 'lib/ach_client/providers/soap/i_check_gateway/account_type_transformer.rb', line 10 def self.transformer { 'PS' => AchClient::AccountTypes::PersonalSavings, 'PC' => AchClient::AccountTypes::PersonalChecking, 'BS' => AchClient::AccountTypes::BusinessSavings, 'BC' => AchClient::AccountTypes::BusinessChecking } end |