sepa_file_parser 0.6.1 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/sepa_file_parser/general/transaction.rb +4 -0
- data/lib/sepa_file_parser/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f8f56c047978a6819537fe74436d7ff29f4cb68e8e2220629ea4bec5f693d58
|
4
|
+
data.tar.gz: aec82af45b0e2ebabca9cf74ebf6ac307db0680bf570d46a32a3824abc761c1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6457d63b008b30385ff752e5464dbc3d5054ce8acf1829fc4fcf03e68c01849841b37e45c17aee7a2844a86c166f0bedd0d6f3d1f07d210a06f7bf28c1166daf
|
7
|
+
data.tar.gz: 8dc47db27754b8bdb4f07c249f76720050af7545c20f6c1c015b57e98f51b2cda90e76f83492bf9140e8f683b1a9073ee7549cec1d65eb5b3ac8e896791e4c5d
|
@@ -110,6 +110,10 @@ module SepaFileParser
|
|
110
110
|
@creditor_reference ||= xml_data.xpath('RmtInf/Strd/CdtrRefInf/Ref/text()').text
|
111
111
|
end
|
112
112
|
|
113
|
+
def message_id # May be missing
|
114
|
+
@message_id ||= xml_data.xpath('Refs/MsgId/text()').text
|
115
|
+
end
|
116
|
+
|
113
117
|
def transaction_id # May be missing
|
114
118
|
@transaction_id ||= xml_data.xpath('Refs/TxId/text()').text
|
115
119
|
end
|