Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect to Staging environment? #74

Closed
tupakapoor opened this issue Jul 21, 2022 · 2 comments
Closed

Connect to Staging environment? #74

tupakapoor opened this issue Jul 21, 2022 · 2 comments

Comments

@tupakapoor
Copy link

How can this SDK be used to connect to the staging environment found at https://dashboard.checkrhq-staging.net?

@jrae
Copy link

jrae commented Jul 22, 2022

Looking into this too today.. Seems we need to point to here

Note: The staging account uses the API host URL: https://api.checkr-staging.com/v1 for all calls.

https://docs.checkr.com/#section/Staging-Accounts/Configure-your-staging-account

The base url is set here

@api_base = "https://api.checkr.com"

I think you should be able to just set it with something like this in your initializer code

Checkr.api_base = "https://api.checkr-staging.com" unless config.production?

@tupakapoor
Copy link
Author

I think you should be able to just set it with something like this in your initializer code

Checkr.api_base = "https://api.checkr-stagi

This is correct, I realized this last night 😳 Thanks for responding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants