File: spam.rb

package info (click to toggle)
ruby-twitter-oauth 0.4.94-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 152 kB
  • sloc: ruby: 446; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 232 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
module TwitterOAuth
  class Client
    
    # The user specified in the id is blocked by the authenticated user and reported as a spammer.
    def report_spam(user)
      post("/report_spam.json", :id => user)
    end
    
  end
end