Exception: CrystalSDK::Profile::NotAuthedError
- Inherits:
-
StandardError
- Object
- StandardError
- CrystalSDK::Profile::NotAuthedError
- Defined in:
- lib/crystal_sdk/profile/errors.rb
Instance Attribute Summary collapse
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(token, msg = 'Organization Token was invalid') ⇒ NotAuthedError
constructor
A new instance of NotAuthedError.
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
#token ⇒ Object (readonly)
Returns the value of attribute token.
8 9 10 |
# File 'lib/crystal_sdk/profile/errors.rb', line 8 def token @token end |