Exception: TimeDoctor::UnauthorizedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/timedoctor/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#messageObject (readonly)

Returns the value of attribute message.



36
37
38
# File 'lib/timedoctor/exceptions.rb', line 36

def message
  @message
end