Exception: CrystalSDK::EmailSample::NotAuthedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/crystal_sdk/email_sample/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.



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

#tokenObject (readonly)

Returns the value of attribute token.



7
8
9
# File 'lib/crystal_sdk/email_sample/errors.rb', line 7

def token
  @token
end