Sha256: 100f8ababb3d8ecf9564e4b00180c4819a39b315122a6d2c88a18ee6a91e9e41
Contents?: true
Size: 518 Bytes
Versions: 3
Compression:
Stored size: 518 Bytes
Contents
module MT940 class Transaction attr_accessor :bank_account, :contra_account, :amount, :description, :contra_account_owner, :date def initialize(attributes = {}) @bank_account = attributes[:bank_account] @amount = attributes[:amount] @description = attributes[:description] @date = attributes[:date] @contra_account = attributes[:contra_account] @contra_account_name = attributes[:contra_account_owner] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mt940-0.4.1 | lib/mt940/transaction.rb |
mt940-0.4.0 | lib/mt940/transaction.rb |
mt940-0.3.0 | lib/mt940/transaction.rb |