DoubleEntry v0.2.0 Release Notes

Release Date: 2014-06-28 // almost 10 years ago
  • โž• Added

    • โž• Added a configuration class to define valid accounts and transfers.

      DoubleEntry.configure do |config|
        config.define_accounts do |accounts|
          accounts.define(identifier: :savings,  positive_only: true)
          accounts.define(identifier: :checking)
        end
      
        config.define_transfers do |transfers|
          transfers.define(from: :checking, to: :savings,  code: :deposit)
          transfers.define(from: :savings,  to: :checking, code: :withdraw)
        end
      end
      

    ๐Ÿ”„ Changed

    • ๐Ÿšš Move reporting classes into the DoubleEntry::Reporting namespace. Mark this module as @api private: internal use only.