Skip to content

Commit

Permalink
Merge pull request #180 from Adyen/automation/release
Browse files Browse the repository at this point in the history
Release v7.3.1
  • Loading branch information
AdyenAutomationBot authored Oct 9, 2023
2 parents e4694a3 + a0b0dc4 commit 281c235
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion lib/adyen/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ def initialize(ws_user: nil, ws_password: nil, api_key: nil, oauth_token: nil, e
@oauth_token = oauth_token
@env = env
@adapter = adapter || Faraday.default_adapter
@adapter_options = adapter_options || Faraday.default_adapter_options
if Gem::Version.new(Faraday::VERSION) >= Gem::Version.new('2.1')
# for faraday 2.1 and higher
@adapter_options = adapter_options || Faraday.default_adapter_options
else
# for faraday 1.x and 2.0
@adapter_options = adapter_options || {}
end
@mock_service_url_base = mock_service_url_base || "http://localhost:#{mock_port}"
@live_url_prefix = live_url_prefix
@connection_options = connection_options || Faraday::ConnectionOptions.new
Expand Down
2 changes: 1 addition & 1 deletion lib/adyen/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Adyen
NAME = 'adyen-ruby-api-library'.freeze
VERSION = '7.3.0'.freeze
VERSION = '7.3.1'.freeze
end

0 comments on commit 281c235

Please sign in to comment.