Giter VIP home page Giter VIP logo

Comments (4)

ollym avatar ollym commented on September 21, 2024

@jotolo it was added in Faraday v2.1.0 https://github.com/lostisland/faraday/releases/tag/v2.1.0

What version are you using? (Faraday::VERSION)

from adyen-ruby-api-library.

jotolo avatar jotolo commented on September 21, 2024

Hi @ollym , we are using Faraday 1.10.3. This is why the issue is triggering but there is no constraint on the version needed by the library. Is it needed?

from adyen-ruby-api-library.

ollym avatar ollym commented on September 21, 2024

@jotolo yes that should be fixed but suggest you target faraday >= 2.1 in your Gemfile.

Alternatively the following should work with Faraday < 2:

Adyen::Client.new(api_key: credentials[:ADYEN_API_KEY],
                         env: credentials[:ADYEN_ENV],
                         live_url_prefix: adyen_live_url,
                         adapter_options: {})

from adyen-ruby-api-library.

jotolo avatar jotolo commented on September 21, 2024

@ollym Correct. The proposed solution works. I saw #178 was opened and it manages to solve the issue. Once that PR is merged we can close this issue.
Thanks @ollym and @Aleffio for the quick response 🤝 .

from adyen-ruby-api-library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.