Skip to content

aastorga123/cartola

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License Gem Version Build Status

Information

Import file from banks to raise bank balance.

Distributed in RubyGems

Gemfile

gem 'cartolabco'

Install

gem install cartolabco

How to use

from path or file

bci_xls = Cartolabco::BciParse.from_path('path ...')
bci_xls = Cartolabco::BciParse.from_file(file)

get data

bci = bci_xls.parse

bci contains:

attribute type
numero_catola int
cuenta_corriente string
saldo_inicial float
saldo_final float
total_cargos float
total_abonos float
desde string
hasta string
movimientos array

movimientos contains:

attribute type
fecha string
correlativo int
descripcion string
sucursal string
nro_documento string
cargo float
abono float
saldo float

Contribute

just test your code before pull request, run

$ bundle exec rake test