socketry/cloudflare

zone.record seems to be nil

dwery opened this issue · 2 comments

dwery commented

this happens when calling .all

cloudflare-3.2.2/lib/cloudflare/zone.rb:192:in to_s': undefined method []' for nil:NilClass (NoMethodError)

works if preload = true

Can you submit a PR to fix this issue?

I'm refactoring the code, this issue should be mitigated due to the change In underlying code.