View Source Inbox.Router (Inbox v0.1.1)

A Plug.Router. Should be used in a host application.

Usage

  pipeline :api do
    plug :accepts, ["json"]
    forward("/inbox", Inbox.Router,
      adapter: Inbox.Adapter.Postmark,
      handler: MyApp.Processor
    )
  end