Exception: Saklient::Cloud::Errors::AccessXhrOrApiKeyException
- Inherits:
-
Errors::HttpForbiddenException
- Object
- StandardError
- Errors::HttpException
- Errors::HttpForbiddenException
- Saklient::Cloud::Errors::AccessXhrOrApiKeyException
- Defined in:
- lib/saklient/cloud/errors/access_xhr_or_api_key_exception.rb
Overview
要求された操作は許可されていません. XHRまたはAPIキーによるアクセスのみ許可されています.
Instance Attribute Summary
Attributes inherited from Errors::HttpException
Instance Method Summary (collapse)
-
- (AccessXhrOrApiKeyException) initialize(status, code = nil, message = '')
constructor
A new instance of AccessXhrOrApiKeyException.
Constructor Details
- (AccessXhrOrApiKeyException) initialize(status, code = nil, message = '')
Returns a new instance of AccessXhrOrApiKeyException
17 18 19 |
# File 'lib/saklient/cloud/errors/access_xhr_or_api_key_exception.rb', line 17 def initialize(status, code = nil, = '') super(status, code, ().nil? || == '' ? '要求された操作は許可されていません。XHRまたはAPIキーによるアクセスのみ許可されています。' : ) end |