Class: BingAdsApi::Errors::ReportError
- Inherits:
-
AdsCommonForBingAds::Errors::ApiException
- Object
- AdsCommonForBingAds::Errors::ApiException
- BingAdsApi::Errors::ReportError
- Defined in:
- lib/bing_ads_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/bing_ads_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/bing_ads_api/errors.rb', line 49 def http_code @http_code end |