Exception: CrystalSDK::EmailSample::NotAuthedError
- Inherits:
-
StandardError
- Object
- StandardError
- CrystalSDK::EmailSample::NotAuthedError
- Defined in:
- lib/crystal_sdk/email_sample/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.
9 10 11 12 |
# File 'lib/crystal_sdk/email_sample/errors.rb', line 9 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.
7 8 9 |
# File 'lib/crystal_sdk/email_sample/errors.rb', line 7 def token @token end |