Sha256: 328e6bd22f8507686cb41dc7b249077460c17701b06b020b06985a478904386c
Contents?: true
Size: 635 Bytes
Versions: 39
Compression:
Stored size: 635 Bytes
Contents
module Fog module Orchestration class OpenStack class Real def show_resource_data(stack_name, stack_id, resource_name) request( :method => 'GET', :path => "stacks/#{stack_name}/#{stack_id}/resources/#{resource_name}", :expects => 200 ) end end class Mock def show_resource_data(_stack_name, _stack_id, _resource_name) resources = data[:resources].values Excon::Response.new( :body => {'resources' => resources}, :status => 200 ) end end end end end
Version data entries
39 entries across 37 versions & 3 rubygems