Exception: TwitterType::InvalidUserAccessError

Inherits:
TwitterClientError show all
Defined in:
lib/twitterclientwrapper.rb

Constant Summary collapse

CODE =
"404"

Instance Attribute Summary

Attributes inherited from TwitterClientError

#message

Class Method Summary collapse

Methods inherited from TwitterClientError

#initialize

Constructor Details

This class inherits a constructor from TwitterType::TwitterClientError

Class Method Details

.fits(error) ⇒ Object



44
45
46
# File 'lib/twitterclientwrapper.rb', line 44

def self.fits(error)
  return !error.code.index(CODE).nil?
end