Skip to content

Commit 3f47cf0

Browse files
committed
Fix to_s in AdApiFaultDetail
1 parent 59da143 commit 3f47cf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bing-ads-api/fault/ad_api_fault_detail.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def initialize(attributes={})
3131
# Author:: jlopezn@neonline.cl
3232
def to_s
3333
str = super.to_s + ":\n"
34-
if batch_errors
34+
if errors
3535
str += "\tErrors:\n" + errors.map{ |e| "\t" + e.to_s }.join("\n")
3636
end
3737

0 commit comments

Comments
 (0)