Method: Fog::Orchestration::OpenStack::Real#patch_stack
- Defined in:
- lib/fog/orchestration/openstack/requests/patch_stack.rb
#patch_stack(stack, options = {}) ⇒ Object
patch a stack.
14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/fog/orchestration/openstack/requests/patch_stack.rb', line 14 def patch_stack(stack, = {}) stack_name = stack.stack_name stack_id = stack.id request( :expects => 202, :path => "stacks/#{stack_name}/#{stack_id}", :method => 'PATCH', :body => Fog::JSON.encode() ) end |