Sha256: cc8f74127600fb5fb5bf0cd55fe5095b26716c42b33e647efbef414c6eaab16f

Contents?: true

Size: 281 Bytes

Versions: 6

Compression:

Stored size: 281 Bytes

Contents

require 'censys/search/result'

module Censys
  module Search
    class Website < Result
      def domain
        @attributes['domain']
      end

      def alexa_rank
        @attributes['alexa_rank']
      end

      alias to_s domain
      alias to_str domain
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
censu-0.1.6 lib/censys/search/website.rb
censu-0.1.5 lib/censys/search/website.rb
censu-0.1.4 lib/censys/search/website.rb
censu-0.1.3 lib/censys/search/website.rb
censu-0.1.2 lib/censys/search/website.rb
censu-0.1.1 lib/censys/search/website.rb