lib/fog/openstack/workflow/v2/requests/list_action_executions.rb
module Fog
module OpenStack
class Workflow
class V2
class Real
def list_action_executions
request(
:expects => 200,
:method => "GET",
:path => "action_executions"
)
end
end
class Mock
def list_action_executions
response = Excon::Response.new
response.status = 200
response.body = {"action_executions" =>
[{"state" => "ERROR", "id" => "1111"},
{"state" => "RUNNING", "id" => "2222"}]}
response
end
end
end
end
end
end