Current section
Files
Jump to
Current section
Files
lib/twittex.ex
defmodule Twittex do
@moduledoc false
use Application
def start(_type, _args) do
import Supervisor.Spec, warn: false
children = [
worker(Twittex.Client, [[username: "redrabbit7@gmail.com", password: "PTCVi3Y*si[xGfUKTM8bamJow"]])
]
opts = [strategy: :one_for_one, name: Twittex.Supervisor]
Supervisor.start_link(children, opts)
end
end