Exception: TimeDoctor::UnauthorizedError
- Inherits:
-
StandardError
- Object
- StandardError
- TimeDoctor::UnauthorizedError
- Defined in:
- lib/timedoctor/exceptions.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(data) ⇒ UnauthorizedError
constructor
A new instance of UnauthorizedError.
Constructor Details
#initialize(data) ⇒ UnauthorizedError
Returns a new instance of UnauthorizedError.
32 33 34 |
# File 'lib/timedoctor/exceptions.rb', line 32 def initialize(data) @message = data end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
36 37 38 |
# File 'lib/timedoctor/exceptions.rb', line 36 def @message end |