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