Sha256: 5042db8a37d03457928c3f50ed7fbf3089e1ea2ed518a3dee3a468e1c2f1cfcf

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_workflow(identifier)
            request(
              :expects => 204,
              :method  => "DELETE",
              :path    => "workflows/#{identifier}"
            )
          end
        end

        class Mock
          def delete_workflow(_identifier)
            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.31 lib/fog/workflow/openstack/v2/requests/delete_workflow.rb
fog-openstack-0.3.10 lib/fog/workflow/openstack/v2/requests/delete_workflow.rb
fog-openstack-0.1.30 lib/fog/workflow/openstack/v2/requests/delete_workflow.rb
fog-openstack-0.1.29 lib/fog/workflow/openstack/v2/requests/delete_workflow.rb
fog-openstack-0.3.9 lib/fog/workflow/openstack/v2/requests/delete_workflow.rb
fog-openstack-0.1.28 lib/fog/workflow/openstack/v2/requests/delete_workflow.rb
fog-openstack-0.3.8 lib/fog/workflow/openstack/v2/requests/delete_workflow.rb
fog-openstack-0.3.7 lib/fog/workflow/openstack/v2/requests/delete_workflow.rb
fog-openstack-0.3.6 lib/fog/workflow/openstack/v2/requests/delete_workflow.rb
fog-openstack-0.3.5 lib/fog/workflow/openstack/v2/requests/delete_workflow.rb
fog-openstack-0.3.4 lib/fog/workflow/openstack/v2/requests/delete_workflow.rb
fog-openstack-0.3.3 lib/fog/workflow/openstack/v2/requests/delete_workflow.rb
fog-openstack-0.3.2 lib/fog/workflow/openstack/v2/requests/delete_workflow.rb
fog-openstack-0.3.0 lib/fog/workflow/openstack/v2/requests/delete_workflow.rb
fog-openstack-0.2.4 lib/fog/workflow/openstack/v2/requests/delete_workflow.rb
fog-openstack-0.2.3 lib/fog/workflow/openstack/v2/requests/delete_workflow.rb
fog-openstack-0.2.2 lib/fog/workflow/openstack/v2/requests/delete_workflow.rb
fog-openstack-0.2.1 lib/fog/workflow/openstack/v2/requests/delete_workflow.rb
fog-openstack-0.2.0 lib/fog/workflow/openstack/v2/requests/delete_workflow.rb
fog-zj-0.1.28 lib/fog/workflow/openstack/v2/requests/delete_workflow.rb