Sha256: 14d6e13466266d413c6e78e07072e2ad980d2b493edd5399f9b71fb32eac259a
Contents?: true
Size: 595 Bytes
Versions: 37
Compression:
Stored size: 595 Bytes
Contents
# frozen_string_literal: true module Fog module Orchestration class OpenStack class Real def cancel_update(stack) request( :expects => 200, :method => 'POST', :path => "stacks/#{stack.stack_name}/#{stack.id}/actions", :body => Fog::JSON.encode('cancel_update' => nil) ) end end class Mock def cancel_update(_) response = Excon::Response.new response.status = 200 response.body = {} response end end end end end
Version data entries
37 entries across 35 versions & 3 rubygems