Sha256: e84e4b4da50e0c1ed7299420d2f445e2053d1fbc32deb43ff0a55a863bb8f691

Contents?: true

Size: 520 Bytes

Versions: 42

Compression:

Stored size: 520 Bytes

Contents

module Fog
  module Workflow
    class OpenStack
      class V2
        class Real
          def delete_action_execution(id)
            request(
              :expects => 204,
              :method  => "DELETE",
              :path    => "action_executions/#{id}"
            )
          end
        end

        class Mock
          def delete_action_execution(_id)
            response = Excon::Response.new
            response.status = 204
            response
          end
        end
      end
    end
  end
end

Version data entries

42 entries across 40 versions & 3 rubygems

Version Path
fog-openstack-0.1.9 lib/fog/openstack/requests/workflow_v2/delete_action_execution.rb
fog-openstack-0.1.8 lib/fog/openstack/requests/workflow_v2/delete_action_execution.rb