Created
January 16, 2018 05:10
-
-
Save raffecat/8b390ef9e9f6c7cced1ca39c3a702239 to your computer and use it in GitHub Desktop.
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
defmodule InspectPlug do | |
@behaviour Plug | |
def init(opts), do: opts | |
def call(conn, opts), do: IO.inspect(conn, opts) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment