Skip to content

Commit

Permalink
?
Browse files Browse the repository at this point in the history
  • Loading branch information
nicrioux committed Dec 18, 2015
1 parent 68f6b13 commit 5e606f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ For optional arguments, you can send in a Keyword list that will get translated
```

```
#Example of paging through events
# Example of paging through events
{:ok,events} = Stripe.Events.list key, "", 100 #2nd arg is a marker for paging
case events[:has_more] do
Expand All @@ -91,4 +91,5 @@ case events[:has_more] do
false -> events[:data]
end
```

That's the rule of thumb with this library. If there are any errors with your call, they will bubble up to you in the `{:error, message}` match.

0 comments on commit 5e606f3

Please sign in to comment.