Exception: TwitterType::ProtectedUserAccessError
- Inherits:
-
TwitterClientError
- Object
- StandardError
- TwitterClientError
- TwitterType::ProtectedUserAccessError
- Defined in:
- lib/twitterclientwrapper.rb
Constant Summary collapse
- CODE =
"401"
Instance Attribute Summary
Attributes inherited from TwitterClientError
Class Method Summary collapse
Methods inherited from TwitterClientError
Constructor Details
This class inherits a constructor from TwitterType::TwitterClientError
Class Method Details
.fits(error) ⇒ Object
36 37 38 |
# File 'lib/twitterclientwrapper.rb', line 36 def self.fits(error) return !error.code.index(CODE).nil? end |