Browse Source

add lists-ownerships restful method

master
ryane 8 years ago
parent
commit
9bb135fb96
  1. 1
      src/twitter/api/restful.clj
  2. 3
      test/twitter/api/test/restful.clj

1
src/twitter/api/restful.clj

@ -94,6 +94,7 @@
(def-twitter-restful-method :get "lists/show")
(def-twitter-restful-method :get "lists/memberships")
(def-twitter-restful-method :get "lists/subscriptions")
(def-twitter-restful-method :get "lists/ownerships")
(def-twitter-restful-method :post "lists/create")
(def-twitter-restful-method :post "lists/update")
(def-twitter-restful-method :post "lists/destroy")

3
test/twitter/api/test/restful.clj

@ -78,7 +78,8 @@
(is-200 lists-list)
(is-200 lists-memberships)
(is-200 lists-subscriptions)
(is-200 lists-ownerships)
(with-list list-id (is-200 lists-statuses :params {:list-id list-id})))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Loading…
Cancel
Save