stripe 6.1.0 → 6.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 01a1d2aa23c160486a8b0fa5c08dfad964af0d9340a52c6283b5cf2ce1f25200
4
- data.tar.gz: ce2b83885e40945f062d5e5ebb4bf37c780726eaeb850570f32a9288b75b11b0
3
+ metadata.gz: 4812cac66d5fbc87584349e386f67fb3b3597307486ecd2e019781e73489e5ae
4
+ data.tar.gz: 53352fe3c35ae28df341bc360caa308684fec099c1595eb381fcf1c83302344f
5
5
  SHA512:
6
- metadata.gz: bc5fbfa15c3feed8c3ecdc56ce4deef4d0afd732ccf28f08504327ed347293817fe5dde146cf8e59561c247abdaa17355d585c62c3d4c010225088e0c1251097
7
- data.tar.gz: cc407b09a64595638a226f18ac0905b583950af18e6ba99a9e6dc029bd7d49962e110dfaff64085148749072e4dd052fa51e90a18e743334cded2c518df6727b
6
+ metadata.gz: d39bb60d0a75ea8a9bcdad463d95b496d8f0c882b5b18f8dc7590468070ebb0e77e8b8bfef77f741d594a1ef57a89d92c8c4bb28caa834c040e1feaa353e9103
7
+ data.tar.gz: 30088d515709b619d85698478b90663810cc14d065cce05d38221d5773d3d530a3a92eea1bfaad6f3cc7c99ff0029422d93dcbc2392f476aa84930b7c22168a9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 6.2.0 - 2022-05-23
4
+ * [#1060](https://github.com/stripe/stripe-ruby/pull/1060) API Updates
5
+ * Add support for new resource `Apps.Secret`
6
+
3
7
  ## 6.1.0 - 2022-05-19
4
8
  * [#1057](https://github.com/stripe/stripe-ruby/pull/1057) API Updates
5
9
  * Add support for new resources `Treasury.CreditReversal`, `Treasury.DebitReversal`, `Treasury.FinancialAccountFeatures`, `Treasury.FinancialAccount`, `Treasury.FlowDetails`, `Treasury.InboundTransfer`, `Treasury.OutboundPayment`, `Treasury.OutboundTransfer`, `Treasury.ReceivedCredit`, `Treasury.ReceivedDebit`, `Treasury.TransactionEntry`, and `Treasury.Transaction`
data/OPENAPI_VERSION ADDED
@@ -0,0 +1 @@
1
+ v146
data/VERSION CHANGED
@@ -1 +1 @@
1
- 6.1.0
1
+ 6.2.0
@@ -18,6 +18,7 @@ module Stripe
18
18
  ApplePayDomain::OBJECT_NAME => ApplePayDomain,
19
19
  ApplicationFee::OBJECT_NAME => ApplicationFee,
20
20
  ApplicationFeeRefund::OBJECT_NAME => ApplicationFeeRefund,
21
+ Apps::Secret::OBJECT_NAME => Apps::Secret,
21
22
  Balance::OBJECT_NAME => Balance,
22
23
  BalanceTransaction::OBJECT_NAME => BalanceTransaction,
23
24
  BankAccount::OBJECT_NAME => BankAccount,
@@ -0,0 +1,33 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module Apps
6
+ class Secret < APIResource
7
+ extend Stripe::APIOperations::Create
8
+ extend Stripe::APIOperations::List
9
+
10
+ OBJECT_NAME = "apps.secret"
11
+
12
+ def self.delete_where(params = {}, opts = {})
13
+ resp, opts = execute_resource_request(
14
+ :post,
15
+ resource_url + "/delete",
16
+ params,
17
+ opts
18
+ )
19
+ Util.convert_to_stripe_object(resp.data, opts)
20
+ end
21
+
22
+ def self.find(params = {}, opts = {})
23
+ resp, opts = execute_resource_request(
24
+ :get,
25
+ resource_url + "/find",
26
+ params,
27
+ opts
28
+ )
29
+ Util.convert_to_stripe_object(resp.data, opts)
30
+ end
31
+ end
32
+ end
33
+ end
@@ -7,6 +7,7 @@ require "stripe/resources/alipay_account"
7
7
  require "stripe/resources/apple_pay_domain"
8
8
  require "stripe/resources/application_fee"
9
9
  require "stripe/resources/application_fee_refund"
10
+ require "stripe/resources/apps/secret"
10
11
  require "stripe/resources/balance"
11
12
  require "stripe/resources/balance_transaction"
12
13
  require "stripe/resources/bank_account"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "6.1.0"
4
+ VERSION = "6.2.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.0
4
+ version: 6.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-20 00:00:00.000000000 Z
11
+ date: 2022-05-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Stripe is the easiest way to accept payments online. See https://stripe.com
14
14
  for details.
@@ -25,6 +25,7 @@ files:
25
25
  - History.txt
26
26
  - LICENSE
27
27
  - Makefile
28
+ - OPENAPI_VERSION
28
29
  - README.md
29
30
  - Rakefile
30
31
  - VERSION
@@ -55,6 +56,7 @@ files:
55
56
  - lib/stripe/resources/apple_pay_domain.rb
56
57
  - lib/stripe/resources/application_fee.rb
57
58
  - lib/stripe/resources/application_fee_refund.rb
59
+ - lib/stripe/resources/apps/secret.rb
58
60
  - lib/stripe/resources/balance.rb
59
61
  - lib/stripe/resources/balance_transaction.rb
60
62
  - lib/stripe/resources/bank_account.rb