socketry / cloudflare

An asynchronous Ruby wrapper for the CloudFlare V4 API.
MIT License
139 stars 88 forks source link

Update all values of a DNS record #76

Open kaka-ruto opened 10 months ago

kaka-ruto commented 10 months ago

This adds a new update method for DNS records, which will update all the values of a DNS record, namely: the type, name, content and options,

The current update_content method only updates the content of a DNS record, leaving behind the three other options.

With this change, the current update_content can be marked as deprecated as the new update method can take care of updating content only as well, in addition to all the other options.

Types of Changes

Contribution

ioquatix commented 1 month ago

Apologies for being slow to get back to you.

Do you mind rebasing on top of the latest main?

Thanks.

kaka-ruto commented 1 month ago

Done