GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

No menu could be recovered. Follow the blue links in the page.

This view

  • Original page
  • New address

GeezerVison is showing elixir-auth-github.hexdocs.pm — ElixirAuthGithub.HTTPoisonMock — ElixirAuthGithub v1.6.6

ElixirAuthGithub
v1.6.6
  • Pages
  • Modules

    View Source ElixirAuthGithub.HTTPoisonMock (ElixirAuthGithub v1.6.6)

    This is a set up to mock (stub) our API requests to the GitHub API 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/1

    Link to this section Summary

    Functions

    get!(url, headers \\ [], options \\ [])

    get/3 stubs the HTTPoison get! function when parameters match test vars.

    post!(url, body, headers \\ [], options \\ [])

    post/3 stubs the HTTPoison post! function when parameters match test vars.

    Link to this section Functions

    Link to this function

    get!(url, headers \\ [], options \\ [])

    View Source

    get/3 stubs the HTTPoison get! function when parameters match test vars.

    Link to this function

    post!(url, body, headers \\ [], options \\ [])

    View Source

    post/3 stubs the HTTPoison post! function when parameters match test vars.

    You are visitor 01402520 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.