Sha256: 7cf89ae61afe33d1b229ddb8754e80aa2c4688fe69a58c8e196edb2aeca5c2fb
Contents?: true
Size: 568 Bytes
Versions: 23
Compression:
Stored size: 568 Bytes
Contents
module Fog module Compute class OpenStack class Real def get_meta(collection_name, parent_id, key) request( :expects => [200, 203], :method => 'GET', :path => "#{collection_name}/#{parent_id}/metadata/#{key}" ) end end class Mock def get_meta(collection_name, parent_id, key) response = Excon::Response.new response.status = 200 response.body = { 'meta' => {} } response end end end end end
Version data entries
23 entries across 23 versions & 7 rubygems