Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes Docs in Travis #59

Merged
merged 2 commits into from Mar 16, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/src/main/tut/docs.md
Expand Up @@ -22,7 +22,7 @@ import github4s.jvm.Implicits._
```

```tut:invisible
val accessToken = sys.props.get("token")
val accessToken = sys.env.get("GITHUB4S_ACCESS_TOKEN")
```

WIP: Every Github4s api returns a `Free[GHResponse[A], A]` where `GHResponse[A]` is a type alias for `Either[GHException, GHResult[A]]`. GHResult contains the result `[A]` given by GitHub, but also the status code of the response and headers:
Expand Down Expand Up @@ -116,7 +116,7 @@ import github4s.Github._
import github4s.jvm.Implicits._
import scalaj.http._

val accessToken = sys.props.get("token")
val accessToken = sys.env.get("GITHUB4S_ACCESS_TOKEN")
```

```tut:book
Expand Down