Skip to content

Commit

Permalink
Fixes docs
Browse files Browse the repository at this point in the history
  • Loading branch information
juanpedromoreno committed Mar 16, 2017
1 parent 47c5a7e commit 55b3051
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/main/tut/docs.md
Original file line number Diff line number Diff line change
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

0 comments on commit 55b3051

Please sign in to comment.