Sha256: 305defa789f56eeffdbb5e278975fbc9822e5ec3179a9738560b9a5f7b82b85a
Contents?: true
Size: 566 Bytes
Versions: 24
Compression:
Stored size: 566 Bytes
Contents
module Fog module Rackspace class Orchestration 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 = self.data[:resources].values response(:body => { 'resources' => resources }) end end end end end
Version data entries
24 entries across 22 versions & 4 rubygems