Sha256: 16886a0ba010f62367b2c839ff340e19d22dc1ee3fec7d8d7f4db14c2ef433ab
Contents?: true
Size: 572 Bytes
Versions: 4
Compression:
Stored size: 572 Bytes
Contents
module Fog module Baremetal class HuaweiCloud class Real def list_nodes_detailed(options = {}) request( :expects => [200, 204], :method => 'GET', :path => 'nodes/detail', :query => options ) end end class Mock def list_nodes_detailed(_options = {}) response = Excon::Response.new response.status = [200, 204][rand(2)] response.body = {"nodes" => data[:nodes]} response end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems