Sha256: 48eb719eed1452f0d385ab40a21cc9adf04fc9d2d4bb0bf0a93e764950f4321d

Contents?: true

Size: 284 Bytes

Versions: 2

Compression:

Stored size: 284 Bytes

Contents

require 'censys/location'

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
censu-0.1.6 lib/censys/document/has_location.rb
censu-0.1.5 lib/censys/document/has_location.rb