Method: Fog::Rackspace::AutoScale::Real#update_webhook
- Defined in:
- lib/fog/rackspace/requests/auto_scale/update_webhook.rb
#update_webhook(group_id, policy_id, webhook_id, options) ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/fog/rackspace/requests/auto_scale/update_webhook.rb', line 5 def update_webhook(group_id, policy_id, webhook_id, ) body = request( :expects => [204], :method => 'PUT', :path => "groups/#{group_id}/policies/#{policy_id}/webhooks/#{webhook_id}", :body => Fog::JSON.encode(body) ) end |