Skip to content

Commit

Permalink
Added membership query options
Browse files Browse the repository at this point in the history
  • Loading branch information
pengwynn committed Feb 11, 2010
1 parent 801a1f2 commit f09b312
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 @@ -238,8 +238,8 @@ def list_timeline(list_owner_username, slug, query = {})
perform_get("/#{list_owner_username}/lists/#{slug}/statuses.json", :query => query)
end

def memberships(list_owner_username)
perform_get("/#{list_owner_username}/lists/memberships.json")
def memberships(list_owner_username, query={})
perform_get("/#{list_owner_username}/lists/memberships.json", :query => query)
end

def list_members(list_owner_username, slug, cursor = nil)
Expand Down

0 comments on commit f09b312

Please sign in to comment.