Exception: UnauthorizedException

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

Instance Method Summary collapse

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