Skip to content

Commit

Permalink
stripe-ruby v9 release (#1253)
Browse files Browse the repository at this point in the history
* wip

* Pin to latest API version

* Empty commit

---------

Co-authored-by: anniel-stripe <[email protected]>
  • Loading branch information
richardm-stripe and anniel-stripe authored Aug 16, 2023
1 parent e48d410 commit ee60e66
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/stripe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
require "forwardable"

# Version
require "stripe/api_version"
require "stripe/version"

# API operations
Expand Down
1 change: 1 addition & 0 deletions lib/stripe/stripe_configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def reverse_duplicate_merge(hash)
end

def initialize
@api_version = ApiVersion::CURRENT
@ca_bundle_path = Stripe::DEFAULT_CA_BUNDLE_PATH
@enable_telemetry = true
@verify_ssl_certs = true
Expand Down
2 changes: 1 addition & 1 deletion test/stripe/stripe_configuration_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class StripeConfigurationTest < Test::Unit::TestCase
assert_equal "https://api.stripe.com", config.api_base
assert_equal "https://connect.stripe.com", config.connect_base
assert_equal "https://files.stripe.com", config.uploads_base
assert_equal nil, config.api_version
assert !config.api_version.nil?
end

should "allow for overrides when a block is passed" do
Expand Down

0 comments on commit ee60e66

Please sign in to comment.