Method: Twitterland::TweetBlocker.report_spam

Defined in:
lib/twitterland/tweet_blocker.rb

.report_spam(username) ⇒ Object

Report user as spammer

Twitterland::TweetBlocker.spam('leetspeeker39203959230390235')


17
18
19
20
# File 'lib/twitterland/tweet_blocker.rb', line 17

def self.report_spam(username)
  status = Mash.new(self.get("/spam/#{username}.json"))
  status['error'].blank? ? status : status['error']
end