1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/dns/requests/dynect/zone.rb
2011-08-04 16:00:59 -05:00

31 lines
512 B
Ruby

module Fog
module Dynect
class DNS
class Real
# require 'fog/dns/parsers/dynect/session'
def zone
request(
:expects => 200,
:method => "GET",
:path => "Zone",
)
end
end
class Mock
def zone
response = Excon::Response.new
response.status = 200
response.body = {
}
response
end
end
end
end
end