Class: Statementor::SebTransaction
- Inherits:
-
Transaction
- Object
- Transaction
- Statementor::SebTransaction
- Defined in:
- lib/statementor/seb_transaction.rb
Instance Attribute Summary
Attributes inherited from Transaction
#account, #amount, #commission_fee, #counterparty_account, #counterparty_bank_code, #counterparty_name, #date, #description, #doc_no, #id, #kind, #ref_no, #remitter_id_code
Instance Method Summary collapse
-
#initialize(raw_data) ⇒ SebTransaction
constructor
A new instance of SebTransaction.
Methods inherited from Transaction
Constructor Details
#initialize(raw_data) ⇒ SebTransaction
Returns a new instance of SebTransaction.
3 4 5 6 7 |
# File 'lib/statementor/seb_transaction.rb', line 3 def initialize(raw_data) super @counterparty_name = @counterparty_name.force_encoding('iso-8859-1').encode('utf-8') @description = @description.force_encoding('iso-8859-1').encode('utf-8') end |