Skip to content

Commit

Permalink
Fix OAuth samples in the docs
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
lnikkila committed Sep 21, 2017
1 parent 7a09dc0 commit 5e4db55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/exquickbooks/oauth.ex
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ defmodule ExQuickBooks.OAuth do
token using `get_request_token/1`:
```
{:ok, request_token} = ExQuickBooks.get_request_token(callback_url)
{:ok, request_token} = ExQuickBooks.OAuth.get_request_token(callback_url)
```
The token is an `ExQuickBooks.OAuth.RequestToken`, see its documentation for
Expand Down Expand Up @@ -44,7 +44,7 @@ defmodule ExQuickBooks.OAuth do
callback request parameters for an access token using `get_access_token/3`:
```
{:ok, access_token} = ExQuickBooks.get_access_token(request_token, realm_id, verifier)
{:ok, access_token} = ExQuickBooks.OAuth.get_access_token(request_token, realm_id, verifier)
```
Now you can store the access token and use it in API calls to authenticate on
Expand Down

0 comments on commit 5e4db55

Please sign in to comment.