stripe 10.13.0.pre.beta.1 → 10.14.0.pre.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/OPENAPI_VERSION +1 -1
  4. data/VERSION +1 -1
  5. data/lib/stripe/api_version.rb +1 -1
  6. data/lib/stripe/object_types.rb +3 -2
  7. data/lib/stripe/resources/customer.rb +0 -11
  8. data/lib/stripe/resources/entitlements/active_entitlement.rb +26 -0
  9. data/lib/stripe/resources/forwarding/request.rb +50 -0
  10. data/lib/stripe/resources/product.rb +3 -0
  11. data/lib/stripe/resources/product_feature.rb +13 -0
  12. data/lib/stripe/resources/quote.rb +2 -2
  13. data/lib/stripe/resources.rb +3 -2
  14. data/lib/stripe/version.rb +1 -1
  15. data/stripe.gemspec +3 -0
  16. metadata +5 -61
  17. data/bin/tapioca +0 -27
  18. data/lib/stripe/resources/customer_entitlement.rb +0 -12
  19. data/lib/stripe/resources/customer_entitlement_summary.rb +0 -12
  20. data/sorbet/config +0 -4
  21. data/sorbet/rbi/annotations/.gitattributes +0 -1
  22. data/sorbet/rbi/annotations/coveralls_reborn.rbi +0 -3
  23. data/sorbet/rbi/gems/.gitattributes +0 -1
  24. data/sorbet/rbi/gems/addressable@2.8.6.rbi +0 -1993
  25. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -584
  26. data/sorbet/rbi/gems/byebug@11.1.3.rbi +0 -3606
  27. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -3437
  28. data/sorbet/rbi/gems/coveralls_reborn@0.25.0.rbi +0 -8
  29. data/sorbet/rbi/gems/crack@0.4.5.rbi +0 -144
  30. data/sorbet/rbi/gems/docile@1.4.0.rbi +0 -8
  31. data/sorbet/rbi/gems/erubi@1.12.0.rbi +0 -146
  32. data/sorbet/rbi/gems/hashdiff@1.1.0.rbi +0 -352
  33. data/sorbet/rbi/gems/jaro_winkler@1.5.4.rbi +0 -19
  34. data/sorbet/rbi/gems/json@2.7.1.rbi +0 -1561
  35. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14237
  36. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -272
  37. data/sorbet/rbi/gems/mocha@1.16.1.rbi +0 -11
  38. data/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -161
  39. data/sorbet/rbi/gems/parallel@1.24.0.rbi +0 -280
  40. data/sorbet/rbi/gems/parser@3.2.2.4.rbi +0 -9454
  41. data/sorbet/rbi/gems/power_assert@2.0.3.rbi +0 -414
  42. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
  43. data/sorbet/rbi/gems/prism@0.19.0.rbi +0 -29883
  44. data/sorbet/rbi/gems/pry-byebug@3.10.1.rbi +0 -1150
  45. data/sorbet/rbi/gems/pry@0.14.2.rbi +0 -10085
  46. data/sorbet/rbi/gems/public_suffix@5.0.4.rbi +0 -931
  47. data/sorbet/rbi/gems/racc@1.7.3.rbi +0 -161
  48. data/sorbet/rbi/gems/rack@3.0.8.rbi +0 -5193
  49. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +0 -402
  50. data/sorbet/rbi/gems/rake@13.1.0.rbi +0 -2884
  51. data/sorbet/rbi/gems/rbi@0.1.6.rbi +0 -2922
  52. data/sorbet/rbi/gems/regexp_parser@2.8.3.rbi +0 -3766
  53. data/sorbet/rbi/gems/rexml@3.2.6.rbi +0 -4887
  54. data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +0 -7004
  55. data/sorbet/rbi/gems/rubocop@1.57.2.rbi +0 -56919
  56. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +0 -1317
  57. data/sorbet/rbi/gems/shoulda-context@2.0.0.rbi +0 -555
  58. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -8
  59. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -8
  60. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +0 -8
  61. data/sorbet/rbi/gems/spoom@1.2.4.rbi +0 -3777
  62. data/sorbet/rbi/gems/sync@0.5.0.rbi +0 -8
  63. data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +0 -23136
  64. data/sorbet/rbi/gems/tapioca@0.11.17.rbi +0 -3503
  65. data/sorbet/rbi/gems/term-ansicolor@1.7.1.rbi +0 -8
  66. data/sorbet/rbi/gems/test-unit@3.6.1.rbi +0 -4403
  67. data/sorbet/rbi/gems/thor@1.3.0.rbi +0 -4345
  68. data/sorbet/rbi/gems/tins@1.32.1.rbi +0 -8
  69. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +0 -65
  70. data/sorbet/rbi/gems/webmock@3.19.1.rbi +0 -1740
  71. data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +0 -428
  72. data/sorbet/rbi/gems/yard@0.9.34.rbi +0 -18219
  73. data/sorbet/tapioca/config.yml +0 -13
  74. data/sorbet/tapioca/require.rb +0 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f97bf3371d165166cc7250d4776af7e64f556f1274b8eccb96d3ff45fcd5e27
4
- data.tar.gz: 2978d89e73449e5aba992e20b8404590488fb0ed42652abfa59d04122ed5130b
3
+ metadata.gz: 319701f2f5cc8e4e7df8abad5da7574864b5955fa966a274351b9a2183c5da1b
4
+ data.tar.gz: 19012e101d61352b58de75371588271307b63833f18400364e7fec6449d5a2ca
5
5
  SHA512:
6
- metadata.gz: 37a569d59fa5ada4947bb73b7dcf423ab6b00d81c9b0ff8b2a7a5b7c5d9605fdac46ccd3f6876f52f5b53018384bb6de6210f0d64d6d1299d9aa864b27ef3a46
7
- data.tar.gz: ade13898d45b5e8e295507812cbe390cbc0fd97f4c16a8ec93c3449305e98ffb2008fdc90f4353dcd42f26b35a7a8b0c9e226f8e21e8a43c9729f4101b5619bb
6
+ metadata.gz: 51cdb2c1e44856bae9d1275e034ddddc9e2efb436792abb623be317ea017e95ffa95abb5485a88a8a618c0e69a6b068ebb72ea1cde63ac19143fd506ada0dc5d
7
+ data.tar.gz: f206c5d6bee06cb1d9a609b9eab33344ce22004192118ac6cf76787e954c442cb800742496e66b387297a499ac5b560d66adeee3d4d9afe17c251907e43e2b63
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 10.14.0-beta.1 - 2024-03-21
4
+ * [#1363](https://github.com/stripe/stripe-ruby/pull/1363) Update generated code for beta
5
+ * Add support for new resources `Entitlements.ActiveEntitlementSummary` and `Entitlements.ActiveEntitlement`
6
+ * Add support for `list` method on resource `ActiveEntitlement`
7
+
3
8
  ## 10.13.0-beta.1 - 2024-03-14
4
9
  * [#1360](https://github.com/stripe/stripe-ruby/pull/1360) Update generated code for beta
5
10
  * Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter`
data/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v879
1
+ v896
data/VERSION CHANGED
@@ -1 +1 @@
1
- 10.13.0-beta.1
1
+ 10.14.0-beta.1
@@ -4,6 +4,6 @@
4
4
  module Stripe
5
5
  module ApiVersion
6
6
  CURRENT = "2023-10-16"
7
- PREVIEW = "2024-02-15.preview-v2"
7
+ PREVIEW = "2024-03-20.preview-v2"
8
8
  end
9
9
  end
@@ -49,11 +49,10 @@ module Stripe
49
49
  Customer.object_name => Customer,
50
50
  CustomerBalanceTransaction.object_name => CustomerBalanceTransaction,
51
51
  CustomerCashBalanceTransaction.object_name => CustomerCashBalanceTransaction,
52
- CustomerEntitlement.object_name => CustomerEntitlement,
53
- CustomerEntitlementSummary.object_name => CustomerEntitlementSummary,
54
52
  CustomerSession.object_name => CustomerSession,
55
53
  Discount.object_name => Discount,
56
54
  Dispute.object_name => Dispute,
55
+ Entitlements::ActiveEntitlement.object_name => Entitlements::ActiveEntitlement,
57
56
  Entitlements::Feature.object_name => Entitlements::Feature,
58
57
  EphemeralKey.object_name => EphemeralKey,
59
58
  Event.object_name => Event,
@@ -67,6 +66,7 @@ module Stripe
67
66
  FinancialConnections::AccountOwnership.object_name => FinancialConnections::AccountOwnership,
68
67
  FinancialConnections::Session.object_name => FinancialConnections::Session,
69
68
  FinancialConnections::Transaction.object_name => FinancialConnections::Transaction,
69
+ Forwarding::Request.object_name => Forwarding::Request,
70
70
  FundingInstructions.object_name => FundingInstructions,
71
71
  GiftCards::Card.object_name => GiftCards::Card,
72
72
  GiftCards::Transaction.object_name => GiftCards::Transaction,
@@ -100,6 +100,7 @@ module Stripe
100
100
  Plan.object_name => Plan,
101
101
  Price.object_name => Price,
102
102
  Product.object_name => Product,
103
+ ProductFeature.object_name => ProductFeature,
103
104
  PromotionCode.object_name => PromotionCode,
104
105
  Quote.object_name => Quote,
105
106
  QuotePhase.object_name => QuotePhase,
@@ -22,7 +22,6 @@ module Stripe
22
22
  nested_resource_class_methods :cash_balance_transaction, operations: %i[retrieve list]
23
23
  nested_resource_class_methods :source, operations: %i[create retrieve update delete list]
24
24
  nested_resource_class_methods :tax_id, operations: %i[create retrieve delete list]
25
- nested_resource_class_methods :entitlement, operations: %i[list]
26
25
 
27
26
  # Creates a new customer object.
28
27
  def self.create(params = {}, opts = {})
@@ -128,16 +127,6 @@ module Stripe
128
127
  )
129
128
  end
130
129
 
131
- # Retrieve the entitlement summary for a customer
132
- def self.retrieve_entitlement_summary(customer, params = {}, opts = {})
133
- request_stripe_object(
134
- method: :get,
135
- path: format("/v1/customers/%<customer>s/entitlement_summary", { customer: CGI.escape(customer) }),
136
- params: params,
137
- opts: opts
138
- )
139
- end
140
-
141
130
  # Retrieves a PaymentMethod object for a given Customer.
142
131
  def retrieve_payment_method(payment_method, params = {}, opts = {})
143
132
  request_stripe_object(
@@ -0,0 +1,26 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module Entitlements
6
+ # An active entitlement describes access to a feature for a customer.
7
+ class ActiveEntitlement < APIResource
8
+ extend Stripe::APIOperations::List
9
+
10
+ OBJECT_NAME = "entitlements.active_entitlement"
11
+ def self.object_name
12
+ "entitlements.active_entitlement"
13
+ end
14
+
15
+ # Retrieve a list of active entitlements for a customer
16
+ def self.list(filters = {}, opts = {})
17
+ request_stripe_object(
18
+ method: :get,
19
+ path: "/v1/entitlements/active_entitlements",
20
+ params: filters,
21
+ opts: opts
22
+ )
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,50 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module Forwarding
6
+ # Instructs Stripe to make a request on your behalf using the destination URL and HTTP method in the config.
7
+ # A config is set up for each destination URL by Stripe at the time of onboarding. Stripe verifies requests with
8
+ # your credentials in the config, and injects card details from the payment_method into the request.
9
+ #
10
+ # Stripe redacts all sensitive fields and headers, including authentication credentials and card numbers,
11
+ # before storing the request and response data in the forwarding Request object, which are subject to a
12
+ # 30-day retention period.
13
+ #
14
+ # You can provide a Stripe idempotency key to make sure that requests with the same key result in only one
15
+ # outbound request. The Stripe idempotency key provided should be unique and different from any idempotency
16
+ # keys provided on the underlying third-party request.
17
+ #
18
+ # Forwarding Requests are synchronous requests that return a response or time out according to
19
+ # Stripe's limits.
20
+ class Request < APIResource
21
+ extend Stripe::APIOperations::Create
22
+ extend Stripe::APIOperations::List
23
+
24
+ OBJECT_NAME = "forwarding.request"
25
+ def self.object_name
26
+ "forwarding.request"
27
+ end
28
+
29
+ # Creates a ForwardingRequest object.
30
+ def self.create(params = {}, opts = {})
31
+ request_stripe_object(
32
+ method: :post,
33
+ path: "/v1/forwarding/requests",
34
+ params: params,
35
+ opts: opts
36
+ )
37
+ end
38
+
39
+ # Lists all ForwardingRequest objects.
40
+ def self.list(filters = {}, opts = {})
41
+ request_stripe_object(
42
+ method: :get,
43
+ path: "/v1/forwarding/requests",
44
+ params: filters,
45
+ opts: opts
46
+ )
47
+ end
48
+ end
49
+ end
50
+ end
@@ -14,6 +14,7 @@ module Stripe
14
14
  extend Stripe::APIOperations::Create
15
15
  include Stripe::APIOperations::Delete
16
16
  extend Stripe::APIOperations::List
17
+ extend Stripe::APIOperations::NestedResource
17
18
  extend Stripe::APIOperations::Search
18
19
  include Stripe::APIOperations::Save
19
20
 
@@ -22,6 +23,8 @@ module Stripe
22
23
  "product"
23
24
  end
24
25
 
26
+ nested_resource_class_methods :feature, operations: %i[create delete list]
27
+
25
28
  # Creates a new product object.
26
29
  def self.create(params = {}, opts = {})
27
30
  request_stripe_object(method: :post, path: "/v1/products", params: params, opts: opts)
@@ -0,0 +1,13 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ # A product_feature represents an attachment between a feature and a product.
6
+ # When a product is purchased that has a feature attached, Stripe will create an entitlement to the feature for the purchasing customer.
7
+ class ProductFeature < APIResource
8
+ OBJECT_NAME = "product_feature"
9
+ def self.object_name
10
+ "product_feature"
11
+ end
12
+ end
13
+ end
@@ -208,7 +208,7 @@ module Stripe
208
208
  )
209
209
  end
210
210
 
211
- # Download the PDF for a finalized quote
211
+ # Download the PDF for a finalized quote. Explanation for special handling can be found [here](https://docs.corp.stripe.com/quotes/overview#quote_pdf)
212
212
  def pdf(params = {}, opts = {}, &read_body_chunk_block)
213
213
  config = opts[:client]&.config || Stripe.config
214
214
  opts = { api_base: config.uploads_base }.merge(opts)
@@ -221,7 +221,7 @@ module Stripe
221
221
  )
222
222
  end
223
223
 
224
- # Download the PDF for a finalized quote
224
+ # Download the PDF for a finalized quote. Explanation for special handling can be found [here](https://docs.corp.stripe.com/quotes/overview#quote_pdf)
225
225
  def self.pdf(quote, params = {}, opts = {}, &read_body_chunk_block)
226
226
  config = opts[:client]&.config || Stripe.config
227
227
  opts = { api_base: config.uploads_base }.merge(opts)
@@ -37,11 +37,10 @@ require "stripe/resources/credit_note_line_item"
37
37
  require "stripe/resources/customer"
38
38
  require "stripe/resources/customer_balance_transaction"
39
39
  require "stripe/resources/customer_cash_balance_transaction"
40
- require "stripe/resources/customer_entitlement"
41
- require "stripe/resources/customer_entitlement_summary"
42
40
  require "stripe/resources/customer_session"
43
41
  require "stripe/resources/discount"
44
42
  require "stripe/resources/dispute"
43
+ require "stripe/resources/entitlements/active_entitlement"
45
44
  require "stripe/resources/entitlements/feature"
46
45
  require "stripe/resources/ephemeral_key"
47
46
  require "stripe/resources/event"
@@ -54,6 +53,7 @@ require "stripe/resources/financial_connections/account_owner"
54
53
  require "stripe/resources/financial_connections/account_ownership"
55
54
  require "stripe/resources/financial_connections/session"
56
55
  require "stripe/resources/financial_connections/transaction"
56
+ require "stripe/resources/forwarding/request"
57
57
  require "stripe/resources/funding_instructions"
58
58
  require "stripe/resources/gift_cards/card"
59
59
  require "stripe/resources/gift_cards/transaction"
@@ -87,6 +87,7 @@ require "stripe/resources/person"
87
87
  require "stripe/resources/plan"
88
88
  require "stripe/resources/price"
89
89
  require "stripe/resources/product"
90
+ require "stripe/resources/product_feature"
90
91
  require "stripe/resources/promotion_code"
91
92
  require "stripe/resources/quote"
92
93
  require "stripe/resources/quote_phase"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "10.13.0-beta.1"
4
+ VERSION = "10.14.0-beta.1"
5
5
  end
data/stripe.gemspec CHANGED
@@ -33,10 +33,13 @@ Gem::Specification.new do |s|
33
33
  /\A\.rubocop/,
34
34
  /\A\.travis.yml/,
35
35
  /\A\.vscode/,
36
+ %r{\A(bin/tapioca)},
37
+ /\Asorbet/,
36
38
  /\Atest/
37
39
  )
38
40
  s.files = `git ls-files`.split("\n").reject { |f| ignored.match(f) }
39
41
  s.executables = `git ls-files -- bin/*`.split("\n")
40
42
  .map { |f| File.basename(f) }
43
+ .reject { |f| f == "tapioca" }
41
44
  s.require_paths = ["lib"]
42
45
  end
metadata CHANGED
@@ -1,21 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.13.0.pre.beta.1
4
+ version: 10.14.0.pre.beta.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-14 00:00:00.000000000 Z
11
+ date: 2024-03-21 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.
15
15
  email: support@stripe.com
16
16
  executables:
17
17
  - stripe-console
18
- - tapioca
19
18
  extensions: []
20
19
  extra_rdoc_files: []
21
20
  files:
@@ -31,7 +30,6 @@ files:
31
30
  - Rakefile
32
31
  - VERSION
33
32
  - bin/stripe-console
34
- - bin/tapioca
35
33
  - lib/data/ca-certificates.crt
36
34
  - lib/stripe.rb
37
35
  - lib/stripe/api_operations/create.rb
@@ -92,11 +90,10 @@ files:
92
90
  - lib/stripe/resources/customer.rb
93
91
  - lib/stripe/resources/customer_balance_transaction.rb
94
92
  - lib/stripe/resources/customer_cash_balance_transaction.rb
95
- - lib/stripe/resources/customer_entitlement.rb
96
- - lib/stripe/resources/customer_entitlement_summary.rb
97
93
  - lib/stripe/resources/customer_session.rb
98
94
  - lib/stripe/resources/discount.rb
99
95
  - lib/stripe/resources/dispute.rb
96
+ - lib/stripe/resources/entitlements/active_entitlement.rb
100
97
  - lib/stripe/resources/entitlements/feature.rb
101
98
  - lib/stripe/resources/ephemeral_key.rb
102
99
  - lib/stripe/resources/event.rb
@@ -109,6 +106,7 @@ files:
109
106
  - lib/stripe/resources/financial_connections/account_ownership.rb
110
107
  - lib/stripe/resources/financial_connections/session.rb
111
108
  - lib/stripe/resources/financial_connections/transaction.rb
109
+ - lib/stripe/resources/forwarding/request.rb
112
110
  - lib/stripe/resources/funding_instructions.rb
113
111
  - lib/stripe/resources/gift_cards/card.rb
114
112
  - lib/stripe/resources/gift_cards/transaction.rb
@@ -142,6 +140,7 @@ files:
142
140
  - lib/stripe/resources/plan.rb
143
141
  - lib/stripe/resources/price.rb
144
142
  - lib/stripe/resources/product.rb
143
+ - lib/stripe/resources/product_feature.rb
145
144
  - lib/stripe/resources/promotion_code.rb
146
145
  - lib/stripe/resources/quote.rb
147
146
  - lib/stripe/resources/quote_phase.rb
@@ -206,61 +205,6 @@ files:
206
205
  - lib/stripe/util.rb
207
206
  - lib/stripe/version.rb
208
207
  - lib/stripe/webhook.rb
209
- - sorbet/config
210
- - sorbet/rbi/annotations/.gitattributes
211
- - sorbet/rbi/annotations/coveralls_reborn.rbi
212
- - sorbet/rbi/gems/.gitattributes
213
- - sorbet/rbi/gems/addressable@2.8.6.rbi
214
- - sorbet/rbi/gems/ast@2.4.2.rbi
215
- - sorbet/rbi/gems/byebug@11.1.3.rbi
216
- - sorbet/rbi/gems/coderay@1.1.3.rbi
217
- - sorbet/rbi/gems/coveralls_reborn@0.25.0.rbi
218
- - sorbet/rbi/gems/crack@0.4.5.rbi
219
- - sorbet/rbi/gems/docile@1.4.0.rbi
220
- - sorbet/rbi/gems/erubi@1.12.0.rbi
221
- - sorbet/rbi/gems/hashdiff@1.1.0.rbi
222
- - sorbet/rbi/gems/jaro_winkler@1.5.4.rbi
223
- - sorbet/rbi/gems/json@2.7.1.rbi
224
- - sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi
225
- - sorbet/rbi/gems/method_source@1.0.0.rbi
226
- - sorbet/rbi/gems/mocha@1.16.1.rbi
227
- - sorbet/rbi/gems/netrc@0.11.0.rbi
228
- - sorbet/rbi/gems/parallel@1.24.0.rbi
229
- - sorbet/rbi/gems/parser@3.2.2.4.rbi
230
- - sorbet/rbi/gems/power_assert@2.0.3.rbi
231
- - sorbet/rbi/gems/prettier_print@1.2.1.rbi
232
- - sorbet/rbi/gems/prism@0.19.0.rbi
233
- - sorbet/rbi/gems/pry-byebug@3.10.1.rbi
234
- - sorbet/rbi/gems/pry@0.14.2.rbi
235
- - sorbet/rbi/gems/public_suffix@5.0.4.rbi
236
- - sorbet/rbi/gems/racc@1.7.3.rbi
237
- - sorbet/rbi/gems/rack@3.0.8.rbi
238
- - sorbet/rbi/gems/rainbow@3.1.1.rbi
239
- - sorbet/rbi/gems/rake@13.1.0.rbi
240
- - sorbet/rbi/gems/rbi@0.1.6.rbi
241
- - sorbet/rbi/gems/regexp_parser@2.8.3.rbi
242
- - sorbet/rbi/gems/rexml@3.2.6.rbi
243
- - sorbet/rbi/gems/rubocop-ast@1.30.0.rbi
244
- - sorbet/rbi/gems/rubocop@1.57.2.rbi
245
- - sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi
246
- - sorbet/rbi/gems/shoulda-context@2.0.0.rbi
247
- - sorbet/rbi/gems/simplecov-html@0.12.3.rbi
248
- - sorbet/rbi/gems/simplecov@0.21.2.rbi
249
- - sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi
250
- - sorbet/rbi/gems/spoom@1.2.4.rbi
251
- - sorbet/rbi/gems/sync@0.5.0.rbi
252
- - sorbet/rbi/gems/syntax_tree@6.2.0.rbi
253
- - sorbet/rbi/gems/tapioca@0.11.17.rbi
254
- - sorbet/rbi/gems/term-ansicolor@1.7.1.rbi
255
- - sorbet/rbi/gems/test-unit@3.6.1.rbi
256
- - sorbet/rbi/gems/thor@1.3.0.rbi
257
- - sorbet/rbi/gems/tins@1.32.1.rbi
258
- - sorbet/rbi/gems/unicode-display_width@2.5.0.rbi
259
- - sorbet/rbi/gems/webmock@3.19.1.rbi
260
- - sorbet/rbi/gems/yard-sorbet@0.8.1.rbi
261
- - sorbet/rbi/gems/yard@0.9.34.rbi
262
- - sorbet/tapioca/config.yml
263
- - sorbet/tapioca/require.rb
264
208
  - stripe.gemspec
265
209
  homepage: https://stripe.com/docs/api?lang=ruby
266
210
  licenses:
data/bin/tapioca DELETED
@@ -1,27 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- #
5
- # This file was generated by Bundler.
6
- #
7
- # The application 'tapioca' is installed as part of a gem, and
8
- # this file is here to facilitate running it.
9
- #
10
-
11
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
-
13
- bundle_binstub = File.expand_path("bundle", __dir__)
14
-
15
- if File.file?(bundle_binstub)
16
- if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
17
- load(bundle_binstub)
18
- else
19
- abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
20
- Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
21
- end
22
- end
23
-
24
- require "rubygems"
25
- require "bundler/setup"
26
-
27
- load Gem.bin_path("tapioca", "tapioca")
@@ -1,12 +0,0 @@
1
- # File generated from our OpenAPI spec
2
- # frozen_string_literal: true
3
-
4
- module Stripe
5
- # A entitlement for a customer describes access to a feature.
6
- class CustomerEntitlement < APIResource
7
- OBJECT_NAME = "customer_entitlement"
8
- def self.object_name
9
- "customer_entitlement"
10
- end
11
- end
12
- end
@@ -1,12 +0,0 @@
1
- # File generated from our OpenAPI spec
2
- # frozen_string_literal: true
3
-
4
- module Stripe
5
- # A summary of a customer's entitlements.
6
- class CustomerEntitlementSummary < APIResource
7
- OBJECT_NAME = "customer_entitlement_summary"
8
- def self.object_name
9
- "customer_entitlement_summary"
10
- end
11
- end
12
- end
data/sorbet/config DELETED
@@ -1,4 +0,0 @@
1
- --dir
2
- .
3
- --ignore=tmp/
4
- --ignore=vendor/
@@ -1 +0,0 @@
1
- **/*.rbi linguist-vendored=true
@@ -1,3 +0,0 @@
1
- module Coveralls
2
- def wear; end
3
- end
@@ -1 +0,0 @@
1
- **/*.rbi linguist-generated=true