Module: Twitter::REST::SpamReporting

Includes:
Utils
Included in:
API
Defined in:
lib/twitter/rest/spam_reporting.rb

Constant Summary

Constant Summary

Constants included from Utils

Utils::DEFAULT_CURSOR, Utils::URI_SUBSTRING

Instance Method Summary (collapse)

Methods included from Utils

flat_pmap, pmap

Instance Method Details

- (Array<Twitter::User>) report_spam(*users) - (Array<Twitter::User>) report_spam(*users, options)

The users specified are blocked by the authenticated user and reported as spammers

Raises:

See Also:

Rate Limited?:

  • Yes

Authentication:

  • Requires user context



22
23
24
# File 'lib/twitter/rest/spam_reporting.rb', line 22

def report_spam(*args)
  parallel_users_from_response(:post, '/1.1/users/report_spam.json', args)
end