Method: Fog::Rackspace::AutoScale::Real#execute_policy

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

#execute_policy(group_id, policy_id) ⇒ Object



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

def execute_policy(group_id, policy_id)
  request(
    :expects => [202],
    :method => 'POST',
    :path => "groups/#{group_id}/policies/#{policy_id}/execute"
  )
end