Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Method implementing the 'rate_limit' API call

  • Loading branch information...
commit f6a87d8ee248dc52c739dbce016fbc20808bd229 1 parent 7e41b46
@benashford benashford authored committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/tentacles/core.clj
View
5 src/tentacles/core.clj
@@ -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]
Please sign in to comment.
Something went wrong with that request. Please try again.