absa-h2h 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,6 +6,7 @@ module Absa
6
6
  class TransmissionStatus < Record; end
7
7
  class TransmissionRejectedReason < Record; end
8
8
  class EftStatus < Record; end
9
+ class AhvStatus < Record; end
9
10
  class AcceptedReportReply < Record; end
10
11
  class RejectedMessage < Record; end
11
12
 
@@ -1,5 +1,5 @@
1
1
  module Absa
2
2
  module H2h
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
data/lib/config/reply.yml CHANGED
@@ -19,7 +19,7 @@ transmission_status:
19
19
  data_type: A
20
20
  offset: 8
21
21
  length: 14
22
- fixed_val: 'TRANSMISSION '
22
+ fixed_val: ' TRANSMISSION '
23
23
  expose: false
24
24
  user_code:
25
25
  data_type: N
@@ -83,6 +83,65 @@ transmission_rejected_reason:
83
83
  data_type: A
84
84
  offset: 15
85
85
  length: 50
86
+ ahv_status:
87
+ rec_id:
88
+ data_type: N
89
+ offset: 1
90
+ length: 3
91
+ fixed_val: '900'
92
+ no_strip: true
93
+ rec_status:
94
+ data_type: A
95
+ offset: 4
96
+ length: 1
97
+ regex: ^T|L$
98
+ service_indicator:
99
+ data_type: N
100
+ offset: 5
101
+ length: 3
102
+ regex: ^030$
103
+ no_strip: true
104
+ filler_1:
105
+ data_type: A
106
+ offset: 8
107
+ length: 14
108
+ fixed_val: ' AHV USER SET '
109
+ expose: false
110
+ user_code:
111
+ data_type: A
112
+ offset: 22
113
+ length: 4
114
+ filler_2:
115
+ data_type: A
116
+ offset: 26
117
+ length: 1
118
+ fixed_val: ' '
119
+ expose: false
120
+ user_code_generation_number:
121
+ data_type: N
122
+ offset: 27
123
+ length: 7
124
+ filler_3:
125
+ data_type: A
126
+ offset: 34
127
+ length: 1
128
+ fixed_val: '-'
129
+ expose: false
130
+ last_sequence_number:
131
+ data_type: N
132
+ offset: 35
133
+ length: 6
134
+ filler_4:
135
+ data_type: A
136
+ offset: 41
137
+ length: 1
138
+ fixed_val: '-'
139
+ expose: false
140
+ user_set_status:
141
+ data_type: A
142
+ offset: 42
143
+ length: 8
144
+ regex: ^ACCEPTED|REJECTED$
86
145
  eft_status:
87
146
  rec_id:
88
147
  data_type: N
@@ -105,7 +164,7 @@ eft_status:
105
164
  data_type: A
106
165
  offset: 8
107
166
  length: 14
108
- fixed_val: 'ACB USER SET '
167
+ fixed_val: ' ACB USER SET '
109
168
  expose: false
110
169
  user_code:
111
170
  data_type: A
@@ -135,7 +194,7 @@ eft_status:
135
194
  data_type: A
136
195
  offset: 41
137
196
  length: 1
138
- fixed_val: '-'
197
+ fixed_val: ' '
139
198
  expose: false
140
199
  user_set_status:
141
200
  data_type: A
@@ -1,5 +1,5 @@
1
1
  000T2004052400000LCD USER 10 AFRICA (PTY) 000012300010
2
- 900T000TRANSMISSION 00010-0000621-ACCEPTED
3
- 900T001ACB USER SET 9534-0000037-000016-ACCEPTED
4
- 900T001ACB USER SET 9534-0000038-000032-ACCEPTED
2
+ 900T000 TRANSMISSION 00010-0000621-ACCEPTED
3
+ 900T001 ACB USER SET 9534-0000037-000016 ACCEPTED
4
+ 900T001 ACB USER SET 9534-0000038-000032 ACCEPTED
5
5
  999T000000005
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: absa-h2h
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-12 00:00:00.000000000Z
12
+ date: 2012-06-21 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
16
- requirement: &70180810949160 !ruby/object:Gem::Requirement
16
+ requirement: &70100070597760 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70180810949160
24
+ version_requirements: *70100070597760
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: i18n
27
- requirement: &70180810948740 !ruby/object:Gem::Requirement
27
+ requirement: &70100070597340 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70180810948740
35
+ version_requirements: *70100070597340
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: strata
38
- requirement: &70180810948240 !ruby/object:Gem::Requirement
38
+ requirement: &70100070596840 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 0.0.1
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70180810948240
46
+ version_requirements: *70100070596840
47
47
  description: The interface supports Account holder verifications, EFT payments, Debit
48
48
  orders, collecting statements.
49
49
  email:
@@ -59,6 +59,7 @@ files:
59
59
  - README
60
60
  - Rakefile
61
61
  - absa-h2h.gemspec
62
+ - bin/absa-h2h
62
63
  - lib/absa-h2h.rb
63
64
  - lib/absa-h2h/account_holder_verification.rb
64
65
  - lib/absa-h2h/account_holder_verification_output.rb
@@ -101,7 +102,6 @@ files:
101
102
  - spec/lib/transmission/record_spec.rb
102
103
  - spec/lib/transmission/trailer_spec.rb
103
104
  - spec/spec_helper.rb
104
- - bin/absa-h2h
105
105
  homepage: ''
106
106
  licenses: []
107
107
  post_install_message: