module Fog module OpenStack class DNS class V2 class Real def list_zones(options = {}) headers, options = Fog::OpenStack::DNS::V2.setup_headers(options) request( :expects => 200, :method => 'GET', :path => 'zones', :query => options, :headers => headers ) end end class Mock def list_zones(_options = {}) response = Excon::Response.new response.status = 200 response.body = {'zones' => data[:zones]} response end end end end end end