Exception: Rookout::Exceptions::RookInvalidToken

Inherits:
ToolException
  • Object
show all
Defined in:
lib/rookout/exceptions.rb

Instance Attribute Summary

Attributes inherited from ToolException

#parameters

Instance Method Summary collapse

Constructor Details

#initialize(token = "") ⇒ RookInvalidToken

Returns a new instance of RookInvalidToken.



129
130
131
132
# File 'lib/rookout/exceptions.rb', line 129

def initialize token = ""
  super "The Rookout token supplied #{token[0..6]} is not valid; please check the token and try again",
        { token: token[0...6] }
end