Skip to content

Commit

Permalink
Merge branch 'master' into latest-codegen-master
Browse files Browse the repository at this point in the history
  • Loading branch information
anniel-stripe authored Aug 16, 2023
2 parents 4cb52bb + ee60e66 commit 0b65a71
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 0b65a71

Please sign in to comment.