Method: NicInfo::Main#show_search_results_truncated

Defined in:
lib/nicinfo/nicinfo_main.rb

#show_search_results_truncated(json_data) ⇒ Object



1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
# File 'lib/nicinfo/nicinfo_main.rb', line 1074

def show_search_results_truncated json_data
  truncated = json_data[ "searchResultsTruncated" ]
  if truncated.instance_of?(TrueClass) || truncated.instance_of?(FalseClass)
    if truncated
      @config.logger.mesg( "Results have been truncated by the server.", NicInfo::AttentionType::INFO )
    end
  end
  if truncated != nil
    @config.conf_msgs << "'searchResultsTruncated' is not part of the RDAP specification and was removed before standardization."
  end
end