lib/fog/dns/requests/zerigo/get_zone_stats.rb in fog-0.8.2 vs lib/fog/dns/requests/zerigo/get_zone_stats.rb in fog-0.9.0
- old
+ new
@@ -1,8 +1,8 @@
module Fog
- module Zerigo
- class DNS
+ module DNS
+ class Zerigo
class Real
require 'fog/dns/parsers/zerigo/get_zone_stats'
# returns current traffic statistics about this zone. Queries is measured from the
@@ -23,10 +23,10 @@
def get_zone_stats(zone_id)
request(
:expects => 200,
:method => 'GET',
- :parser => Fog::Parsers::Zerigo::DNS::GetZoneStats.new,
+ :parser => Fog::Parsers::DNS::Zerigo::GetZoneStats.new,
:path => "/api/1.1/zones/#{zone_id}/stats.xml"
)
end
end