Sha256: e8dbe9874376f5c4240f8dff5e5afbc42e373b8f76db884ebfc96897e772f1fa
Contents?: true
Size: 627 Bytes
Versions: 39
Compression:
Stored size: 627 Bytes
Contents
module Fog module Orchestration class OpenStack class Real def show_resource_metadata(stack, resource_name) request( :method => 'GET', :path => "stacks/#{stack.stack_name}/#{stack.id}/resources/#{resource_name}/metadata", :expects => 200 ) end end class Mock def show_resource_metadata(_stack, _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