-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9ea43d2
commit 4509003
Showing
7 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import Config | ||
|
||
config :workos, WorkOs.Client, | ||
config :workos, WorkOS.Client, | ||
client_id: System.get_env("WORKOS_CLIENT_ID"), | ||
api_key: System.get_env("WORKOS_API_KEY") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# This empty module is for configuration purposes | ||
# This empty module is for configuration purposes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import Config | ||
|
||
if workos_api_key = System.get_env("WORKOS_API_KEY") do | ||
config :workos, WorkOs.Client, api_key: workos_api_key | ||
config :workos, WorkOS.Client, api_key: workos_api_key | ||
else | ||
config :tesla, adapter: Tesla.Mock | ||
config :workos, WorkOs.Client, api_key: "re_123456789" | ||
config :workos, WorkOS.Client, api_key: "re_123456789" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
defmodule WorkOs.Client.TeslaClient do | ||
defmodule WorkOS.Client.TeslaClient do | ||
Check warning on line 1 in lib/workos/client/tesla_client.ex GitHub Actions / Build and test
|
||
@moduledoc """ | ||
Tesla client for WorkOs. This is the default HTTP client used. | ||
Tesla client for WorkOS. This is the default HTTP client used. | ||
""" | ||
@behaviour WorkOs.Client | ||
|
||
|