class SquarespaceApi::ResourceGroups::WebhookSubscriptions
Constants
- PATH
Public Instance Methods
rotate_secret(id)
click to toggle source
# File lib/squarespace_api/resource_groups/webhook_subscriptions.rb, line 14 def rotate_secret(id) parse( connection .post(UriComponentBuidler.construct(resource_path, id: id) + "/actions/rotateSecret") ) end
send_test_notification(id = nil, params)
click to toggle source
# File lib/squarespace_api/resource_groups/webhook_subscriptions.rb, line 7 def send_test_notification(id = nil, params) parse( connection .post(UriComponentBuidler.construct(resource_path, id: id) + "/actions/sendTestNotification", params: params.to_json) ) end