class VirustotalAPI::User

A class for '/users' API

Public Class Methods

find(user_key, api_key) click to toggle source

Find a User.

@param [String] user_key with id or api_key @param [String] api_key The key for virustotal @return [VirustotalAPI::User] Report

# File lib/virustotal_api/user.rb, line 13
def self.find(user_key, api_key)
  report = perform("/users/#{user_key}", api_key)
  new(report)
end