Sha256: b34d77b3dc9776b97590d45471afa414426bf07e3b99eefc6da195bbd34e40b4
Contents?: true
Size: 764 Bytes
Versions: 4
Compression:
Stored size: 764 Bytes
Contents
module Fog module HuaweiCloud class Planning class Real def get_plan_templates(plan_uuid) request( :expects => [200, 204], :method => 'GET', :path => "plans/#{plan_uuid}/templates" ) end end class Mock def get_plan_templates(_plan_uuid) response = Excon::Response.new response.status = [200, 204][rand(2)] response.body = { "environment.yaml" => "... content of template file ...", "plan.yaml" => "... content of template file ...", "provider-compute-1.yaml" => "... content of template file ..." } response end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems