dynect_rest
dynect_rest copied to clipboard
Notify events
This branch adds the notify_events parameter for GSLB services (cf. https://help.dynect.net/update-gslb-service-api/#REST). I wanted to add unit tests for this change but found the existing tests for GSLB objects somewhat lacking, so I built them up a bit.
@syskill thanks for the PR, can you rework this to convert notify_events to be an array,
notify_events = results["notify_events"].split(',').compact
rest should be fine.