Module: ACH

Extended by:
ActiveSupport::Autoload
Defined in:
lib/ach_builder.rb,
lib/ach/file.rb,
lib/ach/batch.rb,
lib/ach/record.rb,
lib/ach/version.rb,
lib/ach/component.rb,
lib/ach/constants.rb,
lib/ach/formatter.rb,
lib/ach/file/header.rb,
lib/ach/file/reader.rb,
lib/ach/record/base.rb,
lib/ach/record/tail.rb,
lib/ach/validations.rb,
lib/ach/batch/header.rb,
lib/ach/file/builder.rb,
lib/ach/file/control.rb,
lib/ach/record/entry.rb,
lib/ach/batch/builder.rb,
lib/ach/batch/control.rb,
lib/ach/formatter/rule.rb,
lib/ach/record/addenda.rb,
lib/ach/record/dynamic.rb,
lib/ach/file/transmission_header.rb,
lib/ach/component/has_many_association.rb

Overview

Support for building the files necessary for the bulk exchange of debits and credits with financial institutions via the Automated Clearing House system, governed by NACHA ( www.nacha.org/ ).

Defined Under Namespace

Modules: Constants, Formatter, Record, Validations Classes: Batch, Component, File

Constant Summary collapse

VERSION =

Gem version

"0.2.2"

Class Method Summary collapse

Class Method Details

.to_const(name) ⇒ Object

For a given string, try to locate the corresponding constant (apparently Class) under the ACH or Record modules.

Parameters:

  • name (String)

Returns:

  • (Object)


30
31
32
# File 'lib/ach_builder.rb', line 30

def self.to_const(name)
  [self, self::Record].detect{ |mod| mod.const_defined?(name) }.const_get(name)
end