camt_parser 2.5.0 → 2.6.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: 2d608e83f5300f1c09c3b0d6c16686689d712dec9f1ddfcc577a68d3f940521a
4
- data.tar.gz: 935eb39479dc4b0e8a938ab0768caf409ba8e4d7f202d237aedef3378c6b57be
3
+ metadata.gz: 05b24b4adaf5da71f1a1043116340f85f9aad5928ca88db73864d6950511b358
4
+ data.tar.gz: 5a807a27c6e9918c44b352b96235efc3146381cba183a04cb0878de7d3c0854c
5
5
  SHA512:
6
- metadata.gz: e8b42c38f2d09c02dcc2b3b8d5cc948aa9e84a2b8c25d1b463451a75f04bb46c0d81e0fd28f60b248336ad3fbab33e8413856bf77a617440ffbf4af783a539e3
7
- data.tar.gz: db3474eb8d2219556b8d03f80db0f8361d093cd64efa484ced45389318d19e9cde7cd490f09865345d03e3f6a470773c223f2e4d264085d3b45c7a5431427983
6
+ metadata.gz: 4eadb807816140108c6c1fe1731e2473bbc59b7c9dc3c131759fd51b93e048f3a9f50fc5feaef4ee5b5884dc56259be2daa85c68b9dd1072e8ecd9f6a2c14695
7
+ data.tar.gz: 60acaaf6ed7b13301f302168d09df3488dd66e6dbd7c4802a7bda73732365c4be4442409e390e70d0efc9b9085aafee2335ef9acfd4d7c4be7645d4d7fb4e93a
@@ -29,6 +29,10 @@ module CamtParser
29
29
  @booking_date ||= Date.parse(@xml_data.xpath('BookgDt/Dt/text()').text)
30
30
  end
31
31
 
32
+ def bank_reference # May be missing
33
+ @bank_reference ||= @xml_data.xpath('AcctSvcrRef/text()').text
34
+ end
35
+
32
36
  def transactions
33
37
  @transactions ||= parse_transactions
34
38
  end
@@ -1,3 +1,3 @@
1
1
  module CamtParser
2
- VERSION = "2.5.0"
2
+ VERSION = "2.6.0"
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.5.0
4
+ version: 2.6.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: 2019-04-04 00:00:00.000000000 Z
11
+ date: 2019-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake