Permalink
Browse files

Add optional query parameter to list_subscribers

  • Loading branch information...
1 parent d813d87 commit a608d4088edf8772a3549326bed1124c9a2a123d @sferik committed Sep 23, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/twitter/base.rb
View
@@ -293,8 +293,8 @@ def is_list_member?(list_owner_username, slug, id)
perform_get("/#{list_owner_username}/#{slug}/members/#{id}.json").error.nil?
end
- def list_subscribers(list_owner_username, slug)
- perform_get("/#{list_owner_username}/#{slug}/subscribers.json")
+ def list_subscribers(list_owner_username, slug, query={})
+ perform_get("/#{list_owner_username}/#{slug}/subscribers.json", :body => {:query => query})
end
def list_subscribe(list_owner_username, slug)

0 comments on commit a608d40

Please sign in to comment.