Sha256: f0610b0f3e3c47260bc7b4da417417e51515e1fbf9d358896707f53a349e41a1

Contents?: true

Size: 587 Bytes

Versions: 42

Compression:

Stored size: 587 Bytes

Contents

module Fog
  module Workflow
    class OpenStack
      class V2
        class Real
          def get_execution(execution_id)
            request(
              :expects => 200,
              :method  => "GET",
              :path    => "executions/#{execution_id}"
            )
          end
        end

        class Mock
          def get_execution(_execution_id)
            response = Excon::Response.new
            response.status = 200
            response.body = {"state" => "running", "id" => "1111"}
            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/get_execution.rb
fog-openstack-0.3.10 lib/fog/workflow/openstack/v2/requests/get_execution.rb
fog-openstack-0.1.30 lib/fog/workflow/openstack/v2/requests/get_execution.rb
fog-openstack-0.1.29 lib/fog/workflow/openstack/v2/requests/get_execution.rb
fog-openstack-0.3.9 lib/fog/workflow/openstack/v2/requests/get_execution.rb
fog-openstack-0.1.28 lib/fog/workflow/openstack/v2/requests/get_execution.rb
fog-openstack-0.3.8 lib/fog/workflow/openstack/v2/requests/get_execution.rb
fog-openstack-0.3.7 lib/fog/workflow/openstack/v2/requests/get_execution.rb
fog-openstack-0.3.6 lib/fog/workflow/openstack/v2/requests/get_execution.rb
fog-openstack-0.3.5 lib/fog/workflow/openstack/v2/requests/get_execution.rb
fog-openstack-0.3.4 lib/fog/workflow/openstack/v2/requests/get_execution.rb
fog-openstack-0.3.3 lib/fog/workflow/openstack/v2/requests/get_execution.rb
fog-openstack-0.3.2 lib/fog/workflow/openstack/v2/requests/get_execution.rb
fog-openstack-0.3.0 lib/fog/workflow/openstack/v2/requests/get_execution.rb
fog-openstack-0.2.4 lib/fog/workflow/openstack/v2/requests/get_execution.rb
fog-openstack-0.2.3 lib/fog/workflow/openstack/v2/requests/get_execution.rb
fog-openstack-0.2.2 lib/fog/workflow/openstack/v2/requests/get_execution.rb
fog-openstack-0.2.1 lib/fog/workflow/openstack/v2/requests/get_execution.rb
fog-openstack-0.2.0 lib/fog/workflow/openstack/v2/requests/get_execution.rb
fog-zj-0.1.28 lib/fog/workflow/openstack/v2/requests/get_execution.rb