toss_payments 0.4.2 → 0.4.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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/toss_payments.rb +3 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0772ea51f2e40abaeb070609b54810a7541e640434b51d07ff792be20ee3448
4
- data.tar.gz: 5b00f73bf0c9b71afc1517c5b277bc2c6f157091c90ee7202a8adef8a1195a8c
3
+ metadata.gz: c49db5e55c7225f4a3280b5b3e41a9935da142dbceacbb13eafb9f561d276881
4
+ data.tar.gz: 17a21ba2c4418be5782dd04b373230532d6ee31597ab7d281523c9340ee2669d
5
5
  SHA512:
6
- metadata.gz: e205fa028040d4792a8c7a84c2ec332d5fce05190c29266745ad517455b6914b00e00d047a123e6853de562bb63365ed1045ec3c35e1e2b2943c22bffa04f1b3
7
- data.tar.gz: 1ca387e03f7ed9ba2fc4d3c9b6642980e8055f0ee67da495612e27220ec06cd8b291d9d8db6976b5c8cd3f9b27136f89ddd4794106636288869de609af70b8c3
6
+ metadata.gz: 8ba4b06d691167bf46334291f8e5e8ceba42dc0aec1dd9f8f991a366f66851232b28cc463f14b24809d3feec2ff0901ccad13a08f6962bb17b1d32902fc84a01
7
+ data.tar.gz: 0357324a83588cc3525e44e611a457557a2e46058c3fef9011d7229476ee046216fb2c9aa88ca67a2a732963b2c1de670528d1800b35d1bb65da5ed955dd569a
data/lib/toss_payments.rb CHANGED
@@ -21,7 +21,7 @@ module TossPayments
21
21
  :currency,
22
22
  :method,
23
23
  :total_amount,
24
- :balanced_amount,
24
+ :balance_amount,
25
25
  :status,
26
26
  :requested_at,
27
27
  :approved_at, # nullable
@@ -107,7 +107,7 @@ module TossPayments
107
107
  "S4": "KB증권",
108
108
  "02": "산업",
109
109
  "SP": "KTB투자증권",
110
- "S0": "LIG투자",
110
+ "SO": "LIG투자",
111
111
  "11": "농협",
112
112
  "SL": "NH투자증권",
113
113
  "23": "SC제일",
@@ -225,7 +225,7 @@ module TossPayments
225
225
  currency: response["currency"],
226
226
  method: response["method"],
227
227
  total_amount: response["totalAmount"],
228
- balanced_amount: response["balancedAmount"],
228
+ balance_amount: response["balanceAmount"],
229
229
  status: response["status"]&.downcase&.to_sym,
230
230
  requested_at: Time.parse(response["requestedAt"]),
231
231
  approved_at: response["approvedAt"] ? Time.parse(response["approvedAt"]) : nil,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toss_payments
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Soohyeon Lee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-15 00:00:00.000000000 Z
11
+ date: 2023-03-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: toss payments api
14
14
  email: lsh59727@gmail.com