Sha256: cfbc5ba7da5250b8f0d04cca521e1c9ad19ff66c2b2948447c795fc8a0ba93ee
Contents?: true
Size: 744 Bytes
Versions: 25
Compression:
Stored size: 744 Bytes
Contents
module Fog module Image class OpenStack class V1 class Real def get_shared_images(tenant_id) request( :expects => [200, 204], :method => 'GET', :path => "shared-images/#{tenant_id}" ) end end class Mock def get_shared_images(_tenant_id) response = Excon::Response.new response.status = [200, 204][rand(2)] response.body = { "shared_images" => [ {"image_id" => "ff528b20431645ebb5fa4b0a71ca002f", "can_share" => false} ] } response end end end end end end
Version data entries
25 entries across 23 versions & 3 rubygems