bootpay 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62000bbd11d35179e8c378660dcb69ea6ef76f210b456e739e60c65f0400bcc7
4
- data.tar.gz: 5e2c39cfe97cebecb17a1caa296ed47ee07688bc2849a573260f33a42d70d357
3
+ metadata.gz: 67247bbea9fec88697e3e4ee68dc1798e0b0c3e3b8aa55099e3ea029b3b389a5
4
+ data.tar.gz: c376cf2c3dc1b85317b76e3f1f3b0c4d5fde2627458ebd724160f3649b8d1eb8
5
5
  SHA512:
6
- metadata.gz: 1efc1b4ae4873f145e0aa9345b3e70eb71c495d203d2a54cc43e8fea7237b7cf455ee56423763e79231072f1b7bcee37811421a26792887991e0532761c06e87
7
- data.tar.gz: 4833950cb2fb366a831fc2c79991b733e4c532becdbce662244348ad58477031799edc453e6911384b6bfb45a1052f6ab83c3e2eec7dc8f82b6dce31088b1227
6
+ metadata.gz: f6eddf1d558f4e185538788703a5609bda99b36a9426e6ecb673a261a7eece95dadc6d9f420204583bdf68d6db1a85ff7df987a4d9eef58e5dacb64f54a2de41
7
+ data.tar.gz: 847f3b3631e76549006b851c5f9a0dbf7e51acc9b5130442293fb1ba4626ca37493c6f5e5b6fb8b6b55a8dfadbf77048fb49b2391eab825f530b6a0c84eb88b3
data/.gitignore CHANGED
@@ -13,3 +13,4 @@
13
13
  *.idea
14
14
  *.iml
15
15
  Gemfile.lock
16
+ *.gem
@@ -1,4 +1,3 @@
1
-
2
1
  # bootpay dev api
3
2
  # Comment by Gosomi
4
3
  # Date: 2020-06-18
@@ -9,9 +8,23 @@ module Bootpay::PaymentResource
9
8
  included do
10
9
  def update_pg_resource(data)
11
10
  request(
12
- uri: 'project/payment',
11
+ uri: 'project/payment',
13
12
  payload: data
14
13
  )
15
14
  end
15
+
16
+ #----------------------------------------------------------
17
+ # 새로운 웹훅을 실행한다
18
+ # Comment by Gosomi
19
+ # Date: 2021-12-21
20
+ #----------------------------------------------------------
21
+ def create_webhook(receipt_id)
22
+ request(
23
+ uri: 'webhook',
24
+ payload: {
25
+ receipt_id: receipt_id
26
+ }
27
+ )
28
+ end
16
29
  end
17
30
  end
@@ -1,25 +1,25 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bootpay
4
- VERSION = "1.0.6"
4
+ VERSION = "1.0.7"
5
5
  BANKCODE = {
6
- "한국은행" => "001",
7
- "기업은행" => "003",
8
- "국민은행" => "004",
9
- "외환은행" => "005",
10
- "수협은행" => "007",
11
- "농협은행" => "011",
12
- "우리은행" => "020",
13
- "SC은행" => "023",
14
- "대구은행" => "031",
15
- "부산은행" => "032",
16
- "광주은행" => "034",
17
- "경남은행" => "039",
18
- "우체국" => "071",
6
+ "한국은행" => "001",
7
+ "기업은행" => "003",
8
+ "국민은행" => "004",
9
+ "외환은행" => "005",
10
+ "수협은행" => "007",
11
+ "농협은행" => "011",
12
+ "우리은행" => "020",
13
+ "SC은행" => "023",
14
+ "대구은행" => "031",
15
+ "부산은행" => "032",
16
+ "광주은행" => "034",
17
+ "경남은행" => "039",
18
+ "우체국" => "071",
19
19
  "KEB하나은행" => "081",
20
- "신한은행" => "088",
21
- "케이뱅크" => "089",
22
- "카카오뱅크" => "090",
20
+ "신한은행" => "088",
21
+ "케이뱅크" => "089",
22
+ "카카오뱅크" => "090",
23
23
  }
24
24
  end
25
25
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootpay
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - bootpay
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-09-09 00:00:00.000000000 Z
11
+ date: 2021-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -56,12 +56,6 @@ files:
56
56
  - Rakefile
57
57
  - bin/console
58
58
  - bin/setup
59
- - bootpay-1.0.0.gem
60
- - bootpay-1.0.1.gem
61
- - bootpay-1.0.2.gem
62
- - bootpay-1.0.3.gem
63
- - bootpay-1.0.4.gem
64
- - bootpay-1.0.5.gem
65
59
  - bootpay.gemspec
66
60
  - lib/.DS_Store
67
61
  - lib/bootpay.rb
@@ -101,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
95
  - !ruby/object:Gem::Version
102
96
  version: '0'
103
97
  requirements: []
104
- rubygems_version: 3.2.19
98
+ rubygems_version: 3.1.4
105
99
  signing_key:
106
100
  specification_version: 4
107
101
  summary: Bootpay server side plugin for ruby
data/bootpay-1.0.0.gem DELETED
Binary file
data/bootpay-1.0.1.gem DELETED
Binary file
data/bootpay-1.0.2.gem DELETED
Binary file
data/bootpay-1.0.3.gem DELETED
Binary file
data/bootpay-1.0.4.gem DELETED
Binary file
data/bootpay-1.0.5.gem DELETED
Binary file