Sha256: b7b4744aa319b03fe215286f1d27074a97a0ccc3d6a50bebbcac9f1548a9db03
Contents?: true
Size: 769 Bytes
Versions: 42
Compression:
Stored size: 769 Bytes
Contents
module Fog module Workflow class OpenStack class V2 class Real def update_environment(definition) unless definition["variables"].nil? definition["variables"] = Fog::JSON.encode(definition["variables"]) end body = Fog::JSON.encode(definition) request( :body => body, :expects => 200, :method => "PUT", :path => "environments" ) end end class Mock def update_environment(_definition) response = Excon::Response.new response.status = 200 response.body = "" response end end end end end end
Version data entries
42 entries across 40 versions & 3 rubygems