Skip to content

4tyTwo/shameless_plug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shameless Plug

Shameless plug does exactly what the name suggests.
It is an elixir plug that does nothing but shamelesly plug my ad into your conn

Installation

def deps do
  [
    {:shameless, git: "https://github.com/4tyTwo/shameless_plug.git", tag: "1.0.0"}
  ]
end

Just add the plug to your pipeline, like this:

pipeline :api do
  plug :accepts, ["json"]
  plug Shameless
end

Q&A

Q: Why would anyone want this?

A: No one would

Q: Did you really make this just for the pun?

A: Yes, that's why I did it

About

Unbelievably shameless plug

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages