Method: Fog::Rackspace::AutoScale::Real#update_launch_config

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

#update_launch_config(group_id, options) ⇒ Object



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

def update_launch_config(group_id, options)
  body = options

  request(
    :expects => [204],
    :method => 'PUT',
    :path => "groups/#{group_id}/launch",
    :body => Fog::JSON.encode(body)
  )
end