lib/stripe/request_options.rb in stripe-13.1.0 vs lib/stripe/request_options.rb in stripe-13.1.1
- old
+ new
@@ -61,10 +61,10 @@
merged_opts = {
api_key: req_opts[:api_key] || object_opts[:api_key],
idempotency_key: req_opts[:idempotency_key],
stripe_account: req_opts[:stripe_account] || object_opts[:stripe_account],
stripe_context: req_opts[:stripe_context] || object_opts[:stripe_context],
- stripe_version: req_opts[:stripe_version] || object_opts[:api_version],
+ stripe_version: req_opts[:stripe_version] || object_opts[:stripe_version],
}
# Remove nil values from headers
merged_opts.delete_if { |_, v| v.nil? }