wc-api-ruby
wc-api-ruby copied to clipboard
Deleting a webhook, ruby doc incorrect?
Really enjoying developing integration with the WC api right now. Very clean coded and documented API.
Not sure why, but the Ruby method you suggest running to delete a webhook will not work unless you add force: true to the call like so:
woocommerce.delete("webhooks/123", {force: true}).parsed_response
This is due to the very clear requirement you added to your delete method.