barocert 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/barocert/kakaocert.rb +32 -40
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7fb5994fffa66548e4c988072bd99d52e90501e370ee090591b426a1d69d0fae
4
- data.tar.gz: 5ed93b292b1ad6170a308acc3f85e2b73e86c7b6deb969034fe4ad57e0039490
3
+ metadata.gz: 5ed25b82dbb70d73b0f1cbfbb6b27bb5b4d90fb8c18a249e68f1db80270d4ac4
4
+ data.tar.gz: b80dae9f663a1506e05324b760990355d35d994af02892eb5000f6d4a6c38c71
5
5
  SHA512:
6
- metadata.gz: 1b85bd946e42896d01312c478293865b3087ba1b3f0ed3241cd37a7cb0e893af7fa9a0bdfab9d81868c873f5a1ce59854facbae22f255a72565d70587820b362
7
- data.tar.gz: 3ceb78927f35927f922318effc92de49a8f54b7d207c1cbf5afd5a522a2d135f74bae46c26ac5f65f2d76f52a067f9b5af98fbbfb43fa27835be252dea9a2985
6
+ metadata.gz: 124ec48a21806f7398424869c2c99dbd311b791956fabecb37b9683dd2d8b73c031984c763e596bc8796ef278c3f34bc26a80fad0dbf072ca0dae4646d762eea
7
+ data.tar.gz: ed77724cf7f5cb4199c987d4696da9f6cd47f8995018eac9032d3c1e73fe50c9dcbc9599dcbb278197a95808bb3c8936b8fbca195317e4846af00d8f60443382
@@ -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["ci"].to_s == ''
85
- if identity["receiverHP"].to_s == ''
86
- raise BarocertException.new('-99999999', '수신자 휴대폰번호가 입력되지 않았습니다.')
87
- end
88
- if identity["receiverName"].to_s == ''
89
- raise BarocertException.new('-99999999', '수신자 성명이 입력되지 않았습니다.')
90
- end
91
- if identity["receiverBirthday"].to_s == ''
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["ci"].to_s == ''
172
- if sign["receiverHP"].to_s == ''
173
- raise BarocertException.new('-99999999', '수신자 휴대폰번호가 입력되지 않았습니다.')
174
- end
175
- if sign["receiverName"].to_s == ''
176
- raise BarocertException.new('-99999999', '수신자 성명이 입력되지 않았습니다.')
177
- end
178
- if sign["receiverBirthday"].to_s == ''
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["ci"].to_s == ''
261
- if multiSign["receiverHP"].to_s == ''
262
- raise BarocertException.new('-99999999', '수신자 휴대폰번호가 입력되지 않았습니다.')
263
- end
264
- if multiSign["receiverName"].to_s == ''
265
- raise BarocertException.new('-99999999', '수신자 성명이 입력되지 않았습니다.')
266
- end
267
- if multiSign["receiverBirthday"].to_s == ''
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["ci"].to_s == ''
355
- if cms["receiverHP"].to_s == ''
356
- raise BarocertException.new('-99999999', '수신자 휴대폰번호가 입력되지 않았습니다.')
357
- end
358
- if cms["receiverName"].to_s == ''
359
- raise BarocertException.new('-99999999', '수신자 성명이 입력되지 않았습니다.')
360
- end
361
- if cms["receiverBirthday"].to_s == ''
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.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-05-03 00:00:00.000000000 Z
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.4
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: []