Module: Twitter::Client::SpamReporting
- Included in:
- Twitter::Client
- Defined in:
- lib/twitter/client/spam_reporting.rb
Overview
Defines methods related to spam reporting
Instance Method Summary collapse
-
#report_spam(user, options = {}) ⇒ Twitter::User
The user specified is blocked by the authenticated user and reported as a spammer.
Instance Method Details
#report_spam(user, options = {}) ⇒ Twitter::User
The user specified is blocked by the authenticated user and reported as a spammer
22 23 24 25 26 |
# File 'lib/twitter/client/spam_reporting.rb', line 22 def report_spam(user, ={}) .merge_user!(user) user = post("/1/report_spam.json", ) Twitter::User.new(user) end |