Exception: CrystalSDK::Profile::NotAuthedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/crystal_sdk/profile/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(token, msg = 'Organization Token was invalid') ⇒ NotAuthedError

Returns a new instance of NotAuthedError.



10
11
12
13
# File 'lib/crystal_sdk/profile/errors.rb', line 10

def initialize(token, msg = 'Organization Token was invalid')
  @token = token
  super(msg)
end

Instance Attribute Details

#tokenObject (readonly)

Returns the value of attribute token.



8
9
10
# File 'lib/crystal_sdk/profile/errors.rb', line 8

def token
  @token
end