What's New

New updates and improvements to Jumpstart Pro

← Back

Basic Auth for API clients

New
Some APIs use Basic Auth for authentication. We've now added support for this which can be done by either providing credentials on initialize or overriding the basic_auth method in your client.
MyClient.basic_auth: {username: "user", password: "pass"})

class MyClient < ApplicationClient
  def basic_auth
    {username: "user", password: "pass"}
  end
end