Sha256: 5834de59f0705ae19b88637a37e709dfe1b83dbfc09346dc86d210c8d75cfca5

Contents?: true

Size: 483 Bytes

Versions: 109

Compression:

Stored size: 483 Bytes

Contents

module Fog
  module Parsers
    module DNS
      module Zerigo

        class GetZoneStats < Fog::Parsers::Base

          def reset
            @response = {}
          end

          def end_element(name)
            case name
            when 'id', 'queries'
              @response[name] = value.to_i
            when 'domain', 'period-begin', 'period-end'
              @response[name] = value
            end            
          end

        end

      end
    end
  end
end

Version data entries

109 entries across 109 versions & 19 rubygems

Version Path
fog-maestrodev-1.20.0.20140305101839 lib/fog/zerigo/parsers/dns/get_zone_stats.rb
fog-maestrodev-1.20.0.20140305101305 lib/fog/zerigo/parsers/dns/get_zone_stats.rb
fog-maestrodev-1.19.0.20140212012611 lib/fog/zerigo/parsers/dns/get_zone_stats.rb
fog-1.20.0 lib/fog/zerigo/parsers/dns/get_zone_stats.rb
fog-maestrodev-1.19.0.20140110004459 lib/fog/zerigo/parsers/dns/get_zone_stats.rb
fog-maestrodev-1.19.0.20140110003812 lib/fog/zerigo/parsers/dns/get_zone_stats.rb
fog-maestrodev-1.19.0.20140109202555 lib/fog/zerigo/parsers/dns/get_zone_stats.rb
fog-maestrodev-1.19.0.20140107192102 lib/fog/zerigo/parsers/dns/get_zone_stats.rb
fog-maestrodev-1.19.0.20140107142106 lib/fog/zerigo/parsers/dns/get_zone_stats.rb
fog-maestrodev-1.19.0.20131219203941 lib/fog/zerigo/parsers/dns/get_zone_stats.rb
fog-maestrodev-1.18.0.20131219193542 lib/fog/zerigo/parsers/dns/get_zone_stats.rb
fog-1.19.0 lib/fog/zerigo/parsers/dns/get_zone_stats.rb
fog-maestrodev-1.18.0.20131219033443 lib/fog/zerigo/parsers/dns/get_zone_stats.rb
fog-maestrodev-1.18.0.20131219032002 lib/fog/zerigo/parsers/dns/get_zone_stats.rb
fog-maestrodev-1.18.0.20131219030716 lib/fog/zerigo/parsers/dns/get_zone_stats.rb
fog-maestrodev-1.18.0.20131219022322 lib/fog/zerigo/parsers/dns/get_zone_stats.rb
fog-maestrodev-1.18.0.20131218202447 lib/fog/zerigo/parsers/dns/get_zone_stats.rb
fog-maestrodev-1.18.0.20131209091424 lib/fog/zerigo/parsers/dns/get_zone_stats.rb
fog-maestrodev-1.18.0.20131209090811 lib/fog/zerigo/parsers/dns/get_zone_stats.rb
fog-maestrodev-1.18.0.20131206115947 lib/fog/zerigo/parsers/dns/get_zone_stats.rb