Sha256: 551870fd86d737c86bdf5e3c9c0bf4357458876982212ccf605a3eef986b3b68
Contents?: true
Size: 854 Bytes
Versions: 7
Compression:
Stored size: 854 Bytes
Contents
module Fog module Zerigo class DNS class Real require 'fog/dns/parsers/zerigo/count_zones' # Total number of zones hosted Zerigo for this account. It is the same value as provided # in the X-Query-Count header in the list_zones API method # # ==== Returns # * response<~Excon::Response>: # * body<~Hash> # * 'count'<~Integer> # * 'status'<~Integer> - 200 indicates success def count_zones() request( :expects => 200, :method => 'GET', :parser => Fog::Parsers::Zerigo::DNS::CountZones.new, :path => "/api/1.1/zones/count.xml" ) end end class Mock def count_zones() Fog::Mock.not_implemented end end end end end
Version data entries
7 entries across 7 versions & 2 rubygems