Class: AdcenterApi::Errors::ReportError
- Inherits:
-
AdsCommonForAdcenter::Errors::ApiException
- Object
- AdsCommonForAdcenter::Errors::ApiException
- AdcenterApi::Errors::ReportError
- Defined in:
- lib/adcenter_api/errors.rb
Overview
Error for server-side report error.
Instance Attribute Summary collapse
-
#http_code ⇒ Object
readonly
Returns the value of attribute http_code.
Instance Method Summary collapse
-
#initialize(http_code, message) ⇒ ReportError
constructor
A new instance of ReportError.
Constructor Details
#initialize(http_code, message) ⇒ ReportError
Returns a new instance of ReportError.
51 52 53 54 |
# File 'lib/adcenter_api/errors.rb', line 51 def initialize(http_code, ) super() @http_code = http_code end |
Instance Attribute Details
#http_code ⇒ Object (readonly)
Returns the value of attribute http_code.
49 50 51 |
# File 'lib/adcenter_api/errors.rb', line 49 def http_code @http_code end |