Sha256: f14364c02519c70d61895bdde445a88a9ccbf5b9c012f6ec774e42cc83d1367c
Contents?: true
Size: 698 Bytes
Versions: 12
Compression:
Stored size: 698 Bytes
Contents
module Fog module Volume class OpenStack 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
12 entries across 12 versions & 2 rubygems