Skip to content

Commit

Permalink
Added API test method to retreive a random zen quote
Browse files Browse the repository at this point in the history
  • Loading branch information
philschatz committed May 16, 2013
1 parent 596598a commit 097aa78
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions github.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ makeGithub = (_, jQuery, base64encode) =>
onRateLimitChanged: (listener) ->
listeners.push listener

# Request a random zen quote (test the API)
# -------
zen: -> _request 'GET', '/zen', null

# User API
# =======
class User
Expand Down
4 changes: 4 additions & 0 deletions github.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 097aa78

Please sign in to comment.