bootpay 1.0.6 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/bootpay.gemspec +1 -1
- data/lib/bootpay/payment_resource.rb +16 -2
- data/lib/bootpay/version.rb +17 -17
- metadata +5 -15
- data/.DS_Store +0 -0
- data/.rspec +0 -1
- data/bootpay-1.0.0.gem +0 -0
- data/bootpay-1.0.1.gem +0 -0
- data/bootpay-1.0.2.gem +0 -0
- data/bootpay-1.0.3.gem +0 -0
- data/bootpay-1.0.4.gem +0 -0
- data/bootpay-1.0.5.gem +0 -0
- data/lib/.DS_Store +0 -0
- data/lib/bootpay/.DS_Store +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3eb10bcc2cbb6a72251c867f80e7dc139528feeb542c131f5bc7e0f584550706
|
4
|
+
data.tar.gz: 78f4e2b5e64a77c27416cc7c4bc6b4ce674395f2b112ac8b1a4bee6605c8064f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef40d4391980eed446b9e4bad9a13bfed76dc8588bc64bf0c7e8856fbab6d403b068ec764b691808b6eaf3f4f9fc1fc50479788f25bd60f3ff8d9742dd2647e7
|
7
|
+
data.tar.gz: fe92f9724612f87bb3adbc7660cd1e34fd6792f137aaebc232e226157213f2731eaff5606a54dc701f1e29b0d430b98f4d4cb33d67506efe64fad94d1d1c901c
|
data/.gitignore
CHANGED
data/bootpay.gemspec
CHANGED
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.require_paths = ["lib"]
|
33
33
|
|
34
34
|
# Uncomment to register a new dependency of your gem
|
35
|
-
spec.add_dependency "activesupport", "~>
|
35
|
+
spec.add_dependency "activesupport", "~> 7.0"
|
36
36
|
spec.add_dependency "http"
|
37
37
|
# spec.add_dependency "example-gem", "~> 1.0"
|
38
38
|
|
@@ -1,4 +1,3 @@
|
|
1
|
-
|
2
1
|
# bootpay dev api
|
3
2
|
# Comment by Gosomi
|
4
3
|
# Date: 2020-06-18
|
@@ -9,9 +8,24 @@ module Bootpay::PaymentResource
|
|
9
8
|
included do
|
10
9
|
def update_pg_resource(data)
|
11
10
|
request(
|
12
|
-
uri:
|
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:, webhook_url:)
|
22
|
+
request(
|
23
|
+
uri: 'webhook',
|
24
|
+
payload: {
|
25
|
+
receipt_id: receipt_id,
|
26
|
+
webhook_url: webhook_url
|
27
|
+
}
|
28
|
+
)
|
29
|
+
end
|
16
30
|
end
|
17
31
|
end
|
data/lib/bootpay/version.rb
CHANGED
@@ -1,25 +1,25 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module Bootpay
|
4
|
-
VERSION
|
4
|
+
VERSION = "1.0.9"
|
5
5
|
BANKCODE = {
|
6
|
-
"한국은행"
|
7
|
-
"기업은행"
|
8
|
-
"국민은행"
|
9
|
-
"외환은행"
|
10
|
-
"수협은행"
|
11
|
-
"농협은행"
|
12
|
-
"우리은행"
|
13
|
-
"SC은행"
|
14
|
-
"대구은행"
|
15
|
-
"부산은행"
|
16
|
-
"광주은행"
|
17
|
-
"경남은행"
|
18
|
-
"우체국"
|
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
|
-
"신한은행"
|
21
|
-
"케이뱅크"
|
22
|
-
"카카오뱅크"
|
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.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bootpay
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '7.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '7.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: http
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -45,9 +45,7 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
- ".DS_Store"
|
49
48
|
- ".gitignore"
|
50
|
-
- ".rspec"
|
51
49
|
- CHANGELOG.md
|
52
50
|
- CODE_OF_CONDUCT.md
|
53
51
|
- Gemfile
|
@@ -56,16 +54,8 @@ files:
|
|
56
54
|
- Rakefile
|
57
55
|
- bin/console
|
58
56
|
- 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
57
|
- bootpay.gemspec
|
66
|
-
- lib/.DS_Store
|
67
58
|
- lib/bootpay.rb
|
68
|
-
- lib/bootpay/.DS_Store
|
69
59
|
- lib/bootpay/billing.rb
|
70
60
|
- lib/bootpay/bootpay.rb
|
71
61
|
- lib/bootpay/cancel.rb
|
@@ -101,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
91
|
- !ruby/object:Gem::Version
|
102
92
|
version: '0'
|
103
93
|
requirements: []
|
104
|
-
rubygems_version: 3.
|
94
|
+
rubygems_version: 3.3.3
|
105
95
|
signing_key:
|
106
96
|
specification_version: 4
|
107
97
|
summary: Bootpay server side plugin for ruby
|
data/.DS_Store
DELETED
Binary file
|
data/.rspec
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
--require spec_helper
|
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
|
data/lib/.DS_Store
DELETED
Binary file
|
data/lib/bootpay/.DS_Store
DELETED
Binary file
|