toss_payments 0.6.2 → 0.6.3
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 +4 -4
- data/lib/toss_payments.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 207c034e0e146ae505022c026a37839fd49ebae959acb7af86b844430c4b3c59
|
4
|
+
data.tar.gz: e1534011195e05f027dfcda8e1dc20a30b5a657a9357a561581a991bc434b138
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f46ede360800de65faa57736b242da0fc01e10886d849af165de69274922f6444e5b6b8d66bc9cb9d6a8c65143c6875be98623fcff86960d9f943b3a5902a316
|
7
|
+
data.tar.gz: e3dc5666e111fffbcf31cc3a0e5ead8ddaff14f578f5cdc8fc02b66d97b5d6b83b2af4cac7cd9b6513a9746fca82cf911f530d60a1a1d78de41ff67f1d8026e3
|
data/lib/toss_payments.rb
CHANGED
@@ -185,9 +185,9 @@ module TossPayments
|
|
185
185
|
get(uri)
|
186
186
|
end
|
187
187
|
|
188
|
-
def cancel(payment_key, payload = {})
|
188
|
+
def cancel(payment_key, payload = {}, secret_key_type: :normal)
|
189
189
|
uri = "payments/#{payment_key}/cancel"
|
190
|
-
post(uri, payload)
|
190
|
+
post(uri, payload, secret_key_type: secret_key_type)
|
191
191
|
end
|
192
192
|
|
193
193
|
def payments_key_in(payload = {})
|