Sha256: ba8be61349296d41ffd8a2715394f827dd4b9dba028257c8af2858ace712e426
Contents?: true
Size: 639 Bytes
Versions: 22
Compression:
Stored size: 639 Bytes
Contents
module Fog module OpenStack class Workflow class V2 class Real def validate_action(definition) body = Fog::JSON.encode(definition) request( :body => body, :expects => 200, :method => "POST", :path => "actions/validate" ) end end class Mock def validate_action(_definition) response = Excon::Response.new response.status = 200 response.body = "{\"valid\": true}" response end end end end end end
Version data entries
22 entries across 22 versions & 3 rubygems