Sha256: 741153861fe9330f462ef87dc87547e2d0d3ef1aea6fe3356dcc00f17c8f3e3d
Contents?: true
Size: 615 Bytes
Versions: 22
Compression:
Stored size: 615 Bytes
Contents
module Fog module OpenStack class Workflow class V2 class Real def create_workflow(definition) body = Fog::JSON.encode(definition) request( :body => body, :expects => 201, :method => "POST", :path => "workflows" ) end end class Mock def create_workflow(_definition) response = Excon::Response.new response.status = 201 response.body = "" response end end end end end end
Version data entries
22 entries across 22 versions & 3 rubygems