Exception: TidaSinaWeibo::Exception
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- TidaSinaWeibo::Exception
- Defined in:
- lib/tida_sina_weibo/exceptions.rb
Direct Known Subclasses
IPAccessLimitException, InvalidAccessTokenException, NoAccessTokenAvaiableException
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ Exception
constructor
A new instance of Exception.
- #inspect ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(message = nil) ⇒ Exception
Returns a new instance of Exception.
8 9 10 |
# File 'lib/tida_sina_weibo/exceptions.rb', line 8 def initialize = nil @message = end |
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
6 7 8 |
# File 'lib/tida_sina_weibo/exceptions.rb', line 6 def @message end |
Instance Method Details
#inspect ⇒ Object
12 13 14 |
# File 'lib/tida_sina_weibo/exceptions.rb', line 12 def inspect self. end |
#to_s ⇒ Object
16 17 18 |
# File 'lib/tida_sina_weibo/exceptions.rb', line 16 def to_s inspect end |