Sha256: bab3723a69374bc768a9118e56119d0f77bd38fd5c476eda3b5d8c402462218b
Contents?: true
Size: 555 Bytes
Versions: 20
Compression:
Stored size: 555 Bytes
Contents
module Fog module OpenStack class Baremetal class Real def list_drivers(options = {}) request( :expects => [200, 204], :method => 'GET', :path => 'drivers', :query => options ) end end class Mock def list_drivers(_options = {}) response = Excon::Response.new response.status = [200, 204][rand(2)] response.body = {"drivers" => data[:drivers]} response end end end end end
Version data entries
20 entries across 20 versions & 3 rubygems