Exception: TidaSinaWeibo::InvalidAccessTokenException

Inherits:
Exception
  • Object
show all
Defined in:
lib/tida_sina_weibo/exceptions.rb

Instance Attribute Summary

Attributes inherited from Exception

#message

Instance Method Summary collapse

Methods inherited from Exception

#inspect, #to_s

Constructor Details

#initialize(token) ⇒ InvalidAccessTokenException

Returns a new instance of InvalidAccessTokenException.



34
35
36
# File 'lib/tida_sina_weibo/exceptions.rb', line 34

def initialize(token)
  super "The access token #{token} is not valid"
end