Exception: UnauthorizedException
- Inherits:
-
StandardError
- Object
- StandardError
- UnauthorizedException
- Defined in:
- lib/exception.rb
Instance Method Summary collapse
-
#initialize(json) ⇒ UnauthorizedException
constructor
A new instance of UnauthorizedException.
Constructor Details
#initialize(json) ⇒ UnauthorizedException
Returns a new instance of UnauthorizedException.
8 9 10 |
# File 'lib/exception.rb', line 8 def initialize(json) puts json["message"] end |