Method: Fog::Rackspace::AutoScale::Real#delete_policy

Defined in:
lib/fog/rackspace/requests/auto_scale/delete_policy.rb

#delete_policy(group_id, policy_id) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/fog/rackspace/requests/auto_scale/delete_policy.rb', line 5

def delete_policy(group_id, policy_id)
  request(
    :expects => [204],
    :method => 'DELETE',
    :path => "groups/#{group_id}/policies/#{policy_id}"
  )
end