Adam Millerchip
7915b6d4ed
I originally developed this as an employee under the assumption that this would be released as an official SDK maintained by the company. But this is not the case, so I'm resetting the history to develop this in a personal capacity. This commit represents the progress until now.
18 lines
292 B
Elixir
18 lines
292 B
Elixir
import Config
|
|
|
|
case Mix.env() do
|
|
:dev ->
|
|
config :line_bot,
|
|
client_id: 123,
|
|
client_secret: "secret"
|
|
|
|
:test ->
|
|
config :line_bot,
|
|
client_id: 123,
|
|
client_secret: "secret",
|
|
api_client: MockAPIClient,
|
|
token_server: MockTokenServer
|
|
|
|
_ ->
|
|
[]
|
|
end
|