class Nacha::File

Included Modules

Defined in:

nacha/file.cr

Constant Summary

BLOCKING_FACTOR = 10
FORMAT_CODE = '1'
RECORD_SIZE = 94

Constructors

Instance Method Summary

Instance methods inherited from module BuildableRecord

build(io : IO) : IO build, row_count : Int32 row_count, valid? valid?

Constructor Detail

def self.new(header : FileHeader, batches : Array(Batch)) #

[View source]

Instance Method Detail

def batches : Array(Nacha::Batch) #

[View source]
def build(io : IO) : IO #
Description copied from module BuildableRecord

Convert the record in to the record line


[View source]
def control : Nacha::FileControl #

[View source]
def errors : Hash(String, Array(String)) #

def errors=(errors : Hash(String, Array(String))) #

def generate : String #

[View source]
def header : Nacha::FileHeader #

[View source]
def row_count : Int32 #
Description copied from module BuildableRecord

Every record is a single row. File uses this to calculate the total number of rows needed to build the file.


[View source]