barocert 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/barocert/kakaocert.rb +32 -40
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ed25b82dbb70d73b0f1cbfbb6b27bb5b4d90fb8c18a249e68f1db80270d4ac4
|
4
|
+
data.tar.gz: b80dae9f663a1506e05324b760990355d35d994af02892eb5000f6d4a6c38c71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 124ec48a21806f7398424869c2c99dbd311b791956fabecb37b9683dd2d8b73c031984c763e596bc8796ef278c3f34bc26a80fad0dbf072ca0dae4646d762eea
|
7
|
+
data.tar.gz: ed77724cf7f5cb4199c987d4696da9f6cd47f8995018eac9032d3c1e73fe50c9dcbc9599dcbb278197a95808bb3c8936b8fbca195317e4846af00d8f60443382
|
data/lib/barocert/kakaocert.rb
CHANGED
@@ -81,16 +81,14 @@ class KakaocertService < BarocertService
|
|
81
81
|
if identity.nil?
|
82
82
|
raise BarocertException.new('-99999999', '본인인증 서명요청 정보가 입력되지 않았습니다.s')
|
83
83
|
end
|
84
|
-
if identity["
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
raise BarocertException.new('-99999999', '생년월일이 입력되지 않았습니다.')
|
93
|
-
end
|
84
|
+
if identity["receiverHP"].to_s == ''
|
85
|
+
raise BarocertException.new('-99999999', '수신자 휴대폰번호가 입력되지 않았습니다.')
|
86
|
+
end
|
87
|
+
if identity["receiverName"].to_s == ''
|
88
|
+
raise BarocertException.new('-99999999', '수신자 성명이 입력되지 않았습니다.')
|
89
|
+
end
|
90
|
+
if identity["receiverBirthday"].to_s == ''
|
91
|
+
raise BarocertException.new('-99999999', '생년월일이 입력되지 않았습니다.')
|
94
92
|
end
|
95
93
|
|
96
94
|
if identity["reqTitle"].to_s == ''
|
@@ -168,16 +166,14 @@ class KakaocertService < BarocertService
|
|
168
166
|
if sign.nil?
|
169
167
|
raise BarocertException.new('-99999999', '본인인증 서명요청 정보가 입력되지 않았습니다.s')
|
170
168
|
end
|
171
|
-
if sign["
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
raise BarocertException.new('-99999999', '생년월일이 입력되지 않았습니다.')
|
180
|
-
end
|
169
|
+
if sign["receiverHP"].to_s == ''
|
170
|
+
raise BarocertException.new('-99999999', '수신자 휴대폰번호가 입력되지 않았습니다.')
|
171
|
+
end
|
172
|
+
if sign["receiverName"].to_s == ''
|
173
|
+
raise BarocertException.new('-99999999', '수신자 성명이 입력되지 않았습니다.')
|
174
|
+
end
|
175
|
+
if sign["receiverBirthday"].to_s == ''
|
176
|
+
raise BarocertException.new('-99999999', '생년월일이 입력되지 않았습니다.')
|
181
177
|
end
|
182
178
|
|
183
179
|
if sign["reqTitle"].to_s == ''
|
@@ -257,16 +253,14 @@ class KakaocertService < BarocertService
|
|
257
253
|
if multiSign.nil?
|
258
254
|
raise BarocertException.new('-99999999', '본인인증 서명요청 정보가 입력되지 않았습니다.s')
|
259
255
|
end
|
260
|
-
if multiSign["
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
raise BarocertException.new('-99999999', '생년월일이 입력되지 않았습니다.')
|
269
|
-
end
|
256
|
+
if multiSign["receiverHP"].to_s == ''
|
257
|
+
raise BarocertException.new('-99999999', '수신자 휴대폰번호가 입력되지 않았습니다.')
|
258
|
+
end
|
259
|
+
if multiSign["receiverName"].to_s == ''
|
260
|
+
raise BarocertException.new('-99999999', '수신자 성명이 입력되지 않았습니다.')
|
261
|
+
end
|
262
|
+
if multiSign["receiverBirthday"].to_s == ''
|
263
|
+
raise BarocertException.new('-99999999', '생년월일이 입력되지 않았습니다.')
|
270
264
|
end
|
271
265
|
|
272
266
|
if multiSign["reqTitle"].to_s == ''
|
@@ -351,16 +345,14 @@ class KakaocertService < BarocertService
|
|
351
345
|
if cms.nil?
|
352
346
|
raise BarocertException.new('-99999999', '본인인증 서명요청 정보가 입력되지 않았습니다.s')
|
353
347
|
end
|
354
|
-
if cms["
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
raise BarocertException.new('-99999999', '생년월일이 입력되지 않았습니다.')
|
363
|
-
end
|
348
|
+
if cms["receiverHP"].to_s == ''
|
349
|
+
raise BarocertException.new('-99999999', '수신자 휴대폰번호가 입력되지 않았습니다.')
|
350
|
+
end
|
351
|
+
if cms["receiverName"].to_s == ''
|
352
|
+
raise BarocertException.new('-99999999', '수신자 성명이 입력되지 않았습니다.')
|
353
|
+
end
|
354
|
+
if cms["receiverBirthday"].to_s == ''
|
355
|
+
raise BarocertException.new('-99999999', '생년월일이 입력되지 않았습니다.')
|
364
356
|
end
|
365
357
|
|
366
358
|
if cms["reqTitle"].to_s == ''
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: barocert
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Linkhub Dev
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: linkhub
|
@@ -36,7 +36,7 @@ homepage: https://github.com/barocert/barocert.ruby
|
|
36
36
|
licenses:
|
37
37
|
- MIT
|
38
38
|
metadata: {}
|
39
|
-
post_install_message:
|
39
|
+
post_install_message:
|
40
40
|
rdoc_options: []
|
41
41
|
require_paths:
|
42
42
|
- lib
|
@@ -51,8 +51,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: '0'
|
53
53
|
requirements: []
|
54
|
-
rubygems_version: 3.1
|
55
|
-
signing_key:
|
54
|
+
rubygems_version: 3.0.3.1
|
55
|
+
signing_key:
|
56
56
|
specification_version: 4
|
57
57
|
summary: barocert API SDK
|
58
58
|
test_files: []
|