Browse files

Adding opts to rate limit request (now can request rate limit while p…

…assing auth along)
  • Loading branch information...
1 parent 51b59de commit 041ce230dca1365a28aabfdb5febe75221045ee1 @gilbertw1 gilbertw1 committed Aug 30, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/tentacles/core.clj
@@ -133,7 +133,9 @@
req (make-request method end-point positional query)]
(http/request req))))
-(defn rate-limit [] (api-call :get "rate_limit"))
+(defn rate-limit
+ ([] (api-call :get "rate_limit"))
+ ([opts] (api-call :get "rate_limit" nil opts)))
(defmacro with-url [new-url & body]
`(binding [url ~new-url]

0 comments on commit 041ce23

Please sign in to comment.