Permalink
Browse files

Method implementing the 'rate_limit' API call

  • Loading branch information...
1 parent 7e41b46 commit f6a87d8ee248dc52c739dbce016fbc20808bd229 @benashford benashford committed with Aug 17, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/tentacles/core.clj
View
@@ -111,6 +111,11 @@
(let [query (query-map query)]
(make-request method end-point positional query)))
+;; API calls about the API
+(defn rate-limit
+ []
+ (api-call :get "rate_limit" nil nil))
+
;; Users will call this to point to a different GitHub instance. This allows
;; operation against Enterprise GitHub.
(defmacro with-url [new-url & body]

0 comments on commit f6a87d8

Please sign in to comment.