ElixirAuthGithub v0.1.0 API Reference
Modules
ElixirAuthGithub is a module to help you with Github OAuth in Elixir and Phoenix
Because we are mocking the api requests in ElixirAuthGithub.HTTPoison.InMemory we have to have a separate module to delegate the functions we use to the actual HTTPoison module, so that’s all we do here
This is a set up to mock our API request so that we can test all of our code in ElixirAuthGithub. These are just functions that pattern match on the entries and return things in the way we expect, so that we can check the pipeline in ElixirAuthGithub.github_auth