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