Sha256: 84d62eeac8d4db39d57249ab13bf3cb586587d072ba6a20a41dcd8464e9fa00b

Contents?: true

Size: 363 Bytes

Versions: 38

Compression:

Stored size: 363 Bytes

Contents

module Fog
  module Parsers
    module DNS
      module Zerigo
        class CountHosts < Fog::Parsers::Base
          def reset
            @response = {}
          end

          def end_element(name)
            case name
            when 'count'
              @response[name] = value.to_i
            end
          end
        end
      end
    end
  end
end

Version data entries

38 entries across 36 versions & 5 rubygems

Version Path
fog-1.29.0 lib/fog/zerigo/parsers/dns/count_hosts.rb
fog-1.28.0 lib/fog/zerigo/parsers/dns/count_hosts.rb
fog-1.27.0 lib/fog/zerigo/parsers/dns/count_hosts.rb
fog-1.26.0 lib/fog/zerigo/parsers/dns/count_hosts.rb
fog-1.25.0 lib/fog/zerigo/parsers/dns/count_hosts.rb
nsidc-fog-1.24.1 lib/fog/zerigo/parsers/dns/count_hosts.rb
fog-1.24.0 lib/fog/zerigo/parsers/dns/count_hosts.rb
ns-fog-1.22.11 lib/fog/zerigo/parsers/dns/count_hosts.rb
ns-fog-1.22.10 lib/fog/zerigo/parsers/dns/count_hosts.rb
ns-fog-1.22.9 lib/fog/zerigo/parsers/dns/count_hosts.rb
ns-fog-1.22.8 lib/fog/zerigo/parsers/dns/count_hosts.rb
ns-fog-1.22.7 lib/fog/zerigo/parsers/dns/count_hosts.rb
ns-fog-1.22.6 lib/fog/zerigo/parsers/dns/count_hosts.rb
fog-1.23.0 lib/fog/zerigo/parsers/dns/count_hosts.rb
ns-fog-1.22.4 lib/fog/zerigo/parsers/dns/count_hosts.rb
ns-fog-1.22.3 lib/fog/zerigo/parsers/dns/count_hosts.rb
ns-fog-1.22.2 lib/fog/zerigo/parsers/dns/count_hosts.rb
fog-1.22.1 lib/fog/zerigo/parsers/dns/count_hosts.rb