Sha256: 56d4e20d66e070c0d9166f365095c9e06d4fbd2e7269f6e0a1a5f5c95a3c70c8
Contents?: true
Size: 1006 Bytes
Versions: 6
Compression:
Stored size: 1006 Bytes
Contents
module Censys module Report class Metadata # @return [Fixnum] attr_reader :count # @return [Fixnum] attr_reader :backend_time # @return [Fixnum] attr_reader :non_null_count # @return [Fixnum] attr_reader :other_result_count # @return [Fixnum] attr_reader :buckets # @return [Fixnum] attr_reader :error_bound # @return [String] attr_reader :query # # Initializes the report metadata. # # @param [Hash{String => Object}] attributes # def initialize(attributes) @count = attributes['count'] @backend_time = attributes['backend_time'] @non_null_count = attributes['nonnull_count'] @other_result_count = attributes['other_result_count'] @buckets = attributes['buckets'] @error_bound = attributes['error_bound'] @query = attributes['query'] end end end end
Version data entries
6 entries across 6 versions & 1 rubygems