Sha256: 795dedf8a756ddcc669aea48eacb15669ec5979db7315abc6cb5a01cb9de85ef
Contents?: true
Size: 652 Bytes
Versions: 4
Compression:
Stored size: 652 Bytes
Contents
module Fog module Compute class HuaweiCloud class Real def list_hypervisors(options = {}) request( :expects => 200, :method => 'GET', :path => 'os-hypervisors', :query => options ) end end class Mock def list_hypervisors(_options = {}) response = Excon::Response.new response.status = 200 response.body = {'hypervisors' => [ {"hypervisor_hostname" => "fake-mini", "id" => 2, "state" => "up", "status" => "enabled"} ]} response end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems