Skip to content

Commit

Permalink
Add optional query parameter to list_subscribers
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Sep 23, 2010
1 parent d813d87 commit a608d40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/twitter/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a608d40

Please sign in to comment.