Sha256: 552566116d30ad60387e735eb0dd219ec005af5bcae5d4c890e2fa12b8434484
Contents?: true
Size: 699 Bytes
Versions: 4
Compression:
Stored size: 699 Bytes
Contents
module Fog module Volume class HuaweiCloud module Real def list_zones(options = {}) request( :expects => 200, :method => 'GET', :path => 'os-availability-zone.json', :query => options ) end end module Mock def list_zones(_options = {}) Excon::Response.new( :body => { "availabilityZoneInfo" => [ { "zoneState" => {"available" => true}, "zoneName" => "nova" } ] }, :status => 200 ) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems