mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
31 lines
512 B
Ruby
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
|