class Censys::Report::Metadata

Attributes

backend_time[R]

@return [Fixnum]

buckets[R]

@return [Fixnum]

count[R]

@return [Fixnum]

error_bound[R]

@return [Fixnum]

non_null_count[R]

@return [Fixnum]

other_result_count[R]

@return [Fixnum]

query[R]

@return [String]

Public Class Methods

new(attributes) click to toggle source

Initializes the report metadata.

@param [Hash{String => Object}] attributes

# File lib/censys/report/metadata.rb, line 32
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