Exception: Saklient::Errors::HttpMethodNotAllowedException
- Inherits:
-
HttpException
- Object
- StandardError
- HttpException
- Saklient::Errors::HttpMethodNotAllowedException
- Defined in:
- lib/saklient/errors/http_method_not_allowed_exception.rb
Overview
要求されたHTTPメソッドは対応していません.
Instance Attribute Summary
Attributes inherited from HttpException
Instance Method Summary collapse
-
#initialize(status, code = nil, message = '') ⇒ HttpMethodNotAllowedException
constructor
A new instance of HttpMethodNotAllowedException.
Constructor Details
#initialize(status, code = nil, message = '') ⇒ HttpMethodNotAllowedException
Returns a new instance of HttpMethodNotAllowedException.
16 17 18 |
# File 'lib/saklient/errors/http_method_not_allowed_exception.rb', line 16 def initialize(status, code = nil, = '') super(status, code, ().nil? || == '' ? '要求されたHTTPメソッドは対応していません。' : ) end |