Method: KazeClient::Error::Unauthorized#initialize
- Defined in:
- lib/kaze_client/error/unauthorized.rb
#initialize(msg = '401 Unauthorized') ⇒ Unauthorized
Returns a new instance of Unauthorized.
11 12 13 |
# File 'lib/kaze_client/error/unauthorized.rb', line 11 def initialize(msg='401 Unauthorized') super(status: :unauthorized, message: msg) end |