Sha256: 318951b547859f9b514a3d0b81f42c8d5404fd0a104549f8616e5986cc3423c2

Contents?: true

Size: 269 Bytes

Versions: 4

Compression:

Stored size: 269 Bytes

Contents

require 'censys/location'

module Censys
  class Document
    module HasLocation
      #
      # Location information.
      #
      # @return [Location]
      #
      def location
        @location ||= Location.new(@attributes['location'])
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
censu-0.1.4 lib/censys/document/has_location.rb
censu-0.1.3 lib/censys/document/has_location.rb
censu-0.1.2 lib/censys/document/has_location.rb
censu-0.1.1 lib/censys/document/has_location.rb