Sha256: f1f087eab574792f3c3dcdca94c38faca0f5e59ddd19bacd744e2cfadfba16fe

Contents?: true

Size: 877 Bytes

Versions: 19

Compression:

Stored size: 877 Bytes

Contents

require "active_record"
require "pacioli/version"

module Pacioli
  def self.table_name_prefix
    'pacioli_'
  end

  def self.register_company(&block)
    company = Company.new
    company.instance_eval(&block)
    company.save!
    company
  end

end

require "pacioli/company"
require "pacioli/party"
require "pacioli/creditor"
require "pacioli/debtor"
require "pacioli/account"
require "pacioli/asset_account"
require "pacioli/liability_account"
require "pacioli/equity_account"
require "pacioli/income_account"
require "pacioli/expense_account"
require "pacioli/journal_entry"
require "pacioli/transaction"
require "pacioli/credit"
require "pacioli/debit"
require "pacioli/posting_rule"
require "pacioli/exception"

require "pacioli/validations/journal_entry_validator"
require "pacioli/validations/posting_rule_validator"
require "pacioli/validations/company_validator"

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
pacioli-0.0.29 lib/pacioli.rb
pacioli-0.0.28 lib/pacioli.rb
pacioli-0.0.27 lib/pacioli.rb
pacioli-0.0.26 lib/pacioli.rb
pacioli-0.0.25 lib/pacioli.rb
pacioli-0.0.24 lib/pacioli.rb
pacioli-0.0.23 lib/pacioli.rb
pacioli-0.0.22 lib/pacioli.rb
pacioli-0.0.21 lib/pacioli.rb
pacioli-0.0.20 lib/pacioli.rb
pacioli-0.0.19 lib/pacioli.rb
pacioli-0.0.18 lib/pacioli.rb
pacioli-0.0.17 lib/pacioli.rb
pacioli-0.0.16 lib/pacioli.rb
pacioli-0.0.15 lib/pacioli.rb
pacioli-0.0.14 lib/pacioli.rb
pacioli-0.0.13 lib/pacioli.rb
pacioli-0.0.12 lib/pacioli.rb
pacioli-0.0.11 lib/pacioli.rb