aboutsummaryrefslogtreecommitdiff
path: root/lib/mailchimp.ex
blob: 5a40919d6842add04fcc3ca66925bee3e5f119e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
defmodule Mailchimp do
  use Application

  def start(_type, _args) do
    import Supervisor.Spec, warn: false

    children = [
      worker(Mailchimp.Config, []),
    ]

    opts = [strategy: :one_for_one, name: Aliver.Supervisor]
    Supervisor.start_link(children, opts)
  end
end