camt_parser 2.9.0 → 2.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ab0e2f31eb6cbafeaeda36ef3d09815ca8c4a8eaa854f31675c56c036de631f
4
- data.tar.gz: b770cc8c5275519149590f8decd8339211116265d1e2435aba1124a84b3e4efb
3
+ metadata.gz: 2bbdfb8e3f607cbacba2a30982d86fe4dfe13b4ee09d6f9ba3861c8571413f0c
4
+ data.tar.gz: ee9ef18e912e06cd095f440eb5c66042286ba433056cc233f20ed5693e625f17
5
5
  SHA512:
6
- metadata.gz: c6bcd215688c41b5931c852ae05e08d7687a94bed8e3a9d0ea4b434c8977870d2370ad61e26f659c6461fd05e9468b04e7df166a7d4cf904469fd47121cdb40d
7
- data.tar.gz: 0eb90c900f1838df35536a89a360315bbde8e452b52357ca152f7cef14fdedb63fa34c6c89be14fe8a4469b4ca3f8c07fc19aabcc60c098fc35e6a55e0a112ec
6
+ metadata.gz: 7f705279a3cccf6894575a8afdd27167cbe1f2d6cecc53c0d2eb284a8e926bf687849fe55076cc1adc3fc0dbe528e13212e0cf13cee259aadb54106eebf47c55
7
+ data.tar.gz: 5eb5312b35497a1f3251bc1912f1812b8e4ce7e3fef56dc0a18faee106fd2b3d58b4b6a0e03aa41a221c557be85ca61a76c7c88e638c6d076654f1410a264585
@@ -8,6 +8,10 @@ module CamtParser
8
8
  @payment_information_identification ||= @xml_data.xpath('PmtInfId/text()').text
9
9
  end
10
10
 
11
+ def msg_id # may be missing
12
+ @msg_id ||= @xml_data.xpath('MsgId/text()').text
13
+ end
14
+
11
15
  def number_of_transactions
12
16
  @number_of_transactions ||= @xml_data.xpath('NbOfTxs/text()').text
13
17
  end
@@ -1,3 +1,3 @@
1
1
  module CamtParser
2
- VERSION = '2.9.0'.freeze
2
+ VERSION = '2.10.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: camt_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.0
4
+ version: 2.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Schoknecht
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-29 00:00:00.000000000 Z
11
+ date: 2020-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake