stripe 5.32.1 → 5.33.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: ef4a098227e25d135d50164206f72a58df080fa4517de14338fca904a9a2dc21
4
- data.tar.gz: 9bb90124b3e8b41f62e16a40df60a8faa5ffb84342feb67c3756f22acd136bec
3
+ metadata.gz: 7bc72681f7c824d84325e741042d894fdc4e1cd643f7f991093632d0c209c2d9
4
+ data.tar.gz: acc3cc72ea8198b17e0f9863ddd92101d38997427fa3ceda29c487ccfb0ab2c2
5
5
  SHA512:
6
- metadata.gz: 5ac4f2f09e7994562b20dfb2f519017a770d002fc6ba912f531b402fc5cbec700b484720125323f975a095071359f3aaf142341614beea8b605774edffde24a3
7
- data.tar.gz: 2277846245baf1b5142e7f8e3f14ef03ed83a2fa5d9f82e359ce5d8706aa860e1bfe90518b5dac4bbb5ec21a0acd783280bc90df9c2a7d4b0ea01909472afac3
6
+ metadata.gz: e9e7441d87f5be510eb5bd3a6c814074b9a23819343a37958e94c7a477ef8bac66ca164fa47fa84c3ece5baaa19afd18abbaecc94fb354453b00c0ad9e430d24
7
+ data.tar.gz: e606a7a81ee1cf74a6e804ad98332c91ee14c8675a8b65b4632e237097c886aa8ca879c1ff1091a47f790fd927f33cc2e73497caea7934d15d8e65ec4fd3a1a1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.33.0 - 2021-05-19
4
+ * [#979](https://github.com/stripe/stripe-ruby/pull/979) API Updates
5
+ * [#975](https://github.com/stripe/stripe-ruby/pull/975) Add Truffleruby head to CI
6
+
3
7
  ## 5.32.1 - 2021-04-05
4
8
  * Correct use of regexp `match` in gemspec for old versions of Ruby
5
9
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 5.32.1
1
+ 5.33.0
@@ -41,6 +41,8 @@ module Stripe
41
41
  File::OBJECT_NAME => File,
42
42
  File::OBJECT_NAME_ALT => File,
43
43
  FileLink::OBJECT_NAME => FileLink,
44
+ Identity::VerificationReport::OBJECT_NAME => Identity::VerificationReport,
45
+ Identity::VerificationSession::OBJECT_NAME => Identity::VerificationSession,
44
46
  Invoice::OBJECT_NAME => Invoice,
45
47
  InvoiceItem::OBJECT_NAME => InvoiceItem,
46
48
  InvoiceLineItem::OBJECT_NAME => InvoiceLineItem,
@@ -30,6 +30,8 @@ require "stripe/resources/event"
30
30
  require "stripe/resources/exchange_rate"
31
31
  require "stripe/resources/file"
32
32
  require "stripe/resources/file_link"
33
+ require "stripe/resources/identity/verification_report"
34
+ require "stripe/resources/identity/verification_session"
33
35
  require "stripe/resources/invoice"
34
36
  require "stripe/resources/invoice_item"
35
37
  require "stripe/resources/invoice_line_item"
@@ -0,0 +1,12 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module Identity
6
+ class VerificationReport < APIResource
7
+ extend Stripe::APIOperations::List
8
+
9
+ OBJECT_NAME = "identity.verification_report"
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,35 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module Identity
6
+ class VerificationSession < APIResource
7
+ extend Stripe::APIOperations::Create
8
+ extend Stripe::APIOperations::List
9
+ include Stripe::APIOperations::Save
10
+
11
+ OBJECT_NAME = "identity.verification_session"
12
+
13
+ custom_method :cancel, http_verb: :post
14
+ custom_method :redact, http_verb: :post
15
+
16
+ def cancel(params = {}, opts = {})
17
+ request_stripe_object(
18
+ method: :post,
19
+ path: resource_url + "/cancel",
20
+ params: params,
21
+ opts: opts
22
+ )
23
+ end
24
+
25
+ def redact(params = {}, opts = {})
26
+ request_stripe_object(
27
+ method: :post,
28
+ path: resource_url + "/redact",
29
+ params: params,
30
+ opts: opts
31
+ )
32
+ end
33
+ end
34
+ end
35
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "5.32.1"
4
+ VERSION = "5.33.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: 5.32.1
4
+ version: 5.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-05 00:00:00.000000000 Z
11
+ date: 2021-05-19 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.
@@ -76,6 +76,8 @@ files:
76
76
  - lib/stripe/resources/exchange_rate.rb
77
77
  - lib/stripe/resources/file.rb
78
78
  - lib/stripe/resources/file_link.rb
79
+ - lib/stripe/resources/identity/verification_report.rb
80
+ - lib/stripe/resources/identity/verification_session.rb
79
81
  - lib/stripe/resources/invoice.rb
80
82
  - lib/stripe/resources/invoice_item.rb
81
83
  - lib/stripe/resources/invoice_line_item.rb
@@ -148,7 +150,7 @@ metadata:
148
150
  github_repo: ssh://github.com/stripe/stripe-ruby
149
151
  homepage_uri: https://stripe.com/docs/api/ruby
150
152
  source_code_uri: https://github.com/stripe/stripe-ruby
151
- post_install_message:
153
+ post_install_message:
152
154
  rdoc_options: []
153
155
  require_paths:
154
156
  - lib
@@ -164,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
166
  version: '0'
165
167
  requirements: []
166
168
  rubygems_version: 3.1.2
167
- signing_key:
169
+ signing_key:
168
170
  specification_version: 4
169
171
  summary: Ruby bindings for the Stripe API
170
172
  test_files: []