Sha256: e7e5ce2f9d98b92eadd53b09a209bf2dcba1931a86d2b2cf481589a2165e7493
Contents?: true
Size: 853 Bytes
Versions: 2
Compression:
Stored size: 853 Bytes
Contents
module MT940 class Transaction attr_accessor :bank_account, :bank_account_iban, :contra_account, :contra_account_iban, :amount, :type, :description, :contra_account_owner, :date, :bank, :currency def initialize(attributes = {}) @bank_account = attributes[:bank_account] @bank_account_iban = attributes[:bank_account_iban] @bank = attributes[:bank] @amount = attributes[:amount] @type = attributes[:type] @description = attributes[:description] @date = attributes[:date] @contra_account = attributes[:contra_account] @contra_account_iban = attributes[:contra_account_iban] @contra_account_owner = attributes[:contra_account_owner] @currency = attributes[:currency] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zilverline-mt940-2.0 | lib/mt940/transaction.rb |
zilverline-mt940-1.0 | lib/mt940/transaction.rb |