Sha256: 49c8b17ee2884cd38daf7b73dbabdffc28f991feefd6a34a6d1d36983aef64a3
Contents?: true
Size: 530 Bytes
Versions: 23
Compression:
Stored size: 530 Bytes
Contents
module Fog module Orchestration class OpenStack class Real def show_stack_details(name, id) request( :method => 'GET', :path => "stacks/#{name}/#{id}", :expects => 200 ) end end class Mock def show_stack_details(name, id) stack = self.data[:stack].values Excon::Response.new( :body => { 'stack' => stack }, :status => 200 ) end end end end end
Version data entries
23 entries across 23 versions & 3 rubygems