module Qiflib

This file, and Qiflib module, define constant values used in this library. This include the lists of field names within the csv and delimited files.

Constants

AUTHOR
DATE
EMAIL
SOURCE_IBANK
SOURCE_QUICKEN
VERSION

Public Class Methods

csv_category_field_names() click to toggle source
# File lib/qiflib_constants.rb, line 14
def self.csv_category_field_names
  %w( id name )
end
csv_transaction_field_map() click to toggle source
# File lib/qiflib_constants.rb, line 51
def self.csv_transaction_field_map
  hash = {}
  Qiflib.csv_transaction_field_names.each_with_index { | field, index |
    hash[index] = field
  }
  hash
end
csv_transaction_field_names() click to toggle source
# File lib/qiflib_constants.rb, line 18
def self.csv_transaction_field_names
  %w(
    id
    acct_owner
    acct_name
    acct_type
    date
    amount
    number
    ibank_n
    cleared
    payee
    category
    memo
    split1_amount
    split1_category
    split1_memo
    split2_amount
    split2_category
    split2_memo
    split3_amount
    split3_category
    split3_memo
    address1
    address2
    address3
    address4
    address5
    address6
    eol_ind
  )
end