toss_payments 0.6.1 → 0.6.2

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/toss_payments.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19fd7f260f18f07dbbd138cba5ce4e83505b69dd866c98c57b6a625535915c22
4
- data.tar.gz: fa6f41b17e4a86a0e1a29edbcc085154547a29297ff216f5cca84fe1e9be7cde
3
+ metadata.gz: 25294fd728d91a49fc5ab26658d79a7ab86627270d2351c70a750844348919c1
4
+ data.tar.gz: 7c46dfb278b3967a6666d219e0c7e49a6a087bc3076a43a68e8dfb6f56be3625
5
5
  SHA512:
6
- metadata.gz: a2b590261adaf9c820c492a2a20d41286faa2374cae3af02b5dab985b96d2feb5f483fb6d2018cbd9507015fad28a04e22ee8430852febb3ff59bd3715cd8066
7
- data.tar.gz: 4be8a8dc2160ebf270fc19ab758ed8df38cf6040b881ac41bcff60a5acc617eae0aad624a75efc25cacd3b0a9776dd4590b28916f577749782325f824cdcd874
6
+ metadata.gz: 25a57b773c8e945b75ab1b7956a97f911e069284db59bde347642508983feb3b032d4439703ce70ca964b9a7a3197174e9c5dd35d0d44ecfc066311d96638d1a
7
+ data.tar.gz: aa0cb91b18433b051c028db934d6cfd78249465307330037e69f43cbaa2e6cc3066b92cc915c57b59bc2f0ac51b976e31241e2c954b3c40c3d25775e9c46c1f6
data/lib/toss_payments.rb CHANGED
@@ -218,7 +218,7 @@ module TossPayments
218
218
  private
219
219
 
220
220
  def headers(secret_key_type: :normal)
221
- { "Authorization": "Basic #{Base64.strict_encode64((secret_key_type === :billing ? billing_config : config).secret_key + ":")}" }
221
+ { "Authorization": "Basic #{Base64.strict_encode64((secret_key_type === :billing ? config.billing_secret_key : config.secret_key) + ":")}" }
222
222
  end
223
223
 
224
224
  def get(uri, payload = {}, response_type: :payment, secret_key_type: :normal)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toss_payments
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Soohyeon Lee