Compare commits

...

5 Commits

Author SHA1 Message Date
Stripe OpenAPI
456f10ab93 Merge upstream and update generated code for v394 2023-06-23 21:47:05 +00:00
anniel-stripe
3ba3e10ec8
Update log level error (#1238) 2023-06-23 07:40:34 -07:00
Ivan Marynych
6dce6c1240
remove unnecessary log level from available (#1235)
* remove unnecessary log level from available

* Update stripe_configuration.rb
2023-06-23 06:49:11 -07:00
Annie Li
96b7453ee9 Bump version to 8.6.0-beta.6 2023-06-22 13:52:23 -07:00
stripe-openapi[bot]
c0310bc4a7
Merge pull request #1237 from stripe/latest-codegen-beta
Update generated code for beta
2023-06-22 12:49:59 -07:00
5 changed files with 14 additions and 4 deletions

View File

@ -1,5 +1,12 @@
# Changelog
## 8.6.0-beta.6 - 2023-06-22
* [#1237](https://github.com/stripe/stripe-ruby/pull/1237) Update generated code for beta
* Add support for new resource `CustomerSession`
* Add support for `create` method on resource `CustomerSession`
* [#1233](https://github.com/stripe/stripe-ruby/pull/1233) Update generated code for beta
* [#1229](https://github.com/stripe/stripe-ruby/pull/1229) Update generated code for beta
## 8.6.0-beta.5 - 2023-06-01
* [#1227](https://github.com/stripe/stripe-ruby/pull/1227) Update generated code for beta
* [#1228](https://github.com/stripe/stripe-ruby/pull/1228) Document raw_request

View File

@ -1 +1 @@
v392
v394

View File

@ -1 +1 @@
8.6.0-beta.5
8.6.0-beta.6

View File

@ -89,13 +89,16 @@ module Stripe
val = Stripe::LEVEL_DEBUG
elsif val == "info"
val = Stripe::LEVEL_INFO
elsif val == "error"
val = Stripe::LEVEL_ERROR
end
levels = [Stripe::LEVEL_INFO, Stripe::LEVEL_DEBUG, Stripe::LEVEL_ERROR]
if !val.nil? && !levels.include?(val)
raise ArgumentError,
"log_level should only be set to `nil`, `debug` or `info`"
"log_level should only be set to `nil`, `debug`, `info`," \
" or `error`"
end
@log_level = val
end

View File

@ -1,5 +1,5 @@
# frozen_string_literal: true
module Stripe
VERSION = "8.6.0-beta.5"
VERSION = "8.6.0-beta.6"
end