Sha256: c7e92b373582e7eb24282cb232e41da61d2a2d9fc9a5f33082153a2b38d2a658
Contents?: true
Size: 634 Bytes
Versions: 4
Compression:
Stored size: 634 Bytes
Contents
module MT940 class Transaction attr_accessor :bank_account, :contra_account, :amount, :description, :contra_account_owner, :date, :bank, :currency def initialize(attributes = {}) @bank_account = attributes[:bank_account] @bank = attributes[:bank] @amount = attributes[:amount] @description = attributes[:description] @date = attributes[:date] @contra_account = attributes[:contra_account] @contra_account_name = attributes[:contra_account_owner] @currency = attributes[:currency] end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mt940-0.8.0 | lib/mt940/transaction.rb |
mt940-0.7.1 | lib/mt940/transaction.rb |
mt940-0.7.0 | lib/mt940/transaction.rb |
mt940-0.6.6 | lib/mt940/transaction.rb |