diff --git a/lib/twitter/base.rb b/lib/twitter/base.rb index 33915737b..5cf3fb83e 100644 --- a/lib/twitter/base.rb +++ b/lib/twitter/base.rb @@ -226,7 +226,12 @@ def block(id) def unblock(id) perform_post("/#{API_VERSION}/blocks/destroy/#{id}.json") end - + + # When reporting a user for spam, specify one or more of id, screen_name, or user_id + def report_spam(options) + perform_post("/#{API_VERSION}/report_spam.json", :body => options) + end + def help perform_get("/#{API_VERSION}/help/test.json") end