Class: BingAdsApi::AdApiError

Inherits:
DataObject show all
Defined in:
lib/bing-ads-api/fault/ad_api_error.rb

Overview

Public : Defines an error object that contains the details that explain why the service operation failed.

Reference : msdn.microsoft.com/en-US/library/bing-ads-overview-adapierror.aspx

Author

[email protected]

Instance Attribute Summary collapse

Method Summary

Methods inherited from DataObject

#initialize, #to_s

Methods included from SOAPHasheable

#date_to_hash, #get_attribute_key, #normalize_hash_keys, #object_to_hash, #to_hash

Constructor Details

This class inherits a constructor from BingAdsApi::DataObject

Instance Attribute Details

#codeObject

Returns the value of attribute code.



12
13
14
# File 'lib/bing-ads-api/fault/ad_api_error.rb', line 12

def code
  @code
end

#detailObject

Returns the value of attribute detail.



12
13
14
# File 'lib/bing-ads-api/fault/ad_api_error.rb', line 12

def detail
  @detail
end

#error_codeObject

Returns the value of attribute error_code.



12
13
14
# File 'lib/bing-ads-api/fault/ad_api_error.rb', line 12

def error_code
  @error_code
end

#messageObject

Returns the value of attribute message.



12
13
14
# File 'lib/bing-ads-api/fault/ad_api_error.rb', line 12

def message
  @message
end