camt_parser 1.0.1 → 1.0.2

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
  SHA1:
3
- metadata.gz: 792b0c062e0f73b4244dad16397b1a228e74b07b
4
- data.tar.gz: b9354f8b28c77d60c1b2422566442c4d17ba3a6a
3
+ metadata.gz: df511d70f5657f1b4712fd29c91b4d790a8bbfb3
4
+ data.tar.gz: f633b2714129b84aa10a331fd44d599087e50beb
5
5
  SHA512:
6
- metadata.gz: 17b2c584890451e51db8bfa15ce1966adde5f95c533cb470c087c4f0e031c299e2e499fe579ad967399b1ca929cb204558ff48bfc5ff212910d4099ef111dcd1
7
- data.tar.gz: d025553e91341d25451ecd8b28e208f5ef9dd2be1d597009beaf6b71879ffeb23e93a1956da35cc747e10a209f5d65793a23560449eab8d2ed109fcaf3d698ea
6
+ metadata.gz: ede5475f0e6d526394ab775be6419c239d3ff0cc1f4827ce31c6694230dc1a10306f1323e2f4497cef6922f1a2f493d37200afcbbe7a3a59f3acaab37a9eaefe
7
+ data.tar.gz: 8a1c6b1add697dc3dbe5976e150c0f6f7b7a0dbc123d7741ecf88711b47e2cf41b54d34d0e31fc114ec80c293ac950b5bea73e83036c456742a2086e182ee037
@@ -19,7 +19,7 @@ module CamtParser
19
19
 
20
20
  class Entry
21
21
  attr_reader :amount, :currency, :value_date, :debitor, :creditor, :remittance_information,
22
- :additional_entry_information
22
+ :additional_information
23
23
 
24
24
  def initialize(xml_data)
25
25
  @amount = BigDecimal.new(xml_data.xpath('Amt').first.content)
@@ -28,7 +28,7 @@ module CamtParser
28
28
  @value_date = Date.parse(xml_data.xpath('ValDt/Dt').first.content)
29
29
  @creditor = Creditor.new(xml_data.xpath('NtryDtls'))
30
30
  @debitor = Debitor.new(xml_data.xpath('NtryDtls'))
31
- @additional_entry_information = xml_data.xpath('AddtlNtryInf').first.content
31
+ @additional_information = xml_data.xpath('AddtlNtryInf').first.content
32
32
  # Makes the assumption that only unstructured remittance information will be given
33
33
  if (x = xml_data.xpath('NtryDtls/TxDtls/RmtInf/Ustrd')).empty?
34
34
  @remittance_information = nil
@@ -1,3 +1,3 @@
1
1
  module CamtParser
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: camt_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Schoknecht