Sha256: 57817bade1891fa3f0742c97b8cc83388492b1dd97853a2795c8f3a23e3b1d0b

Contents?: true

Size: 435 Bytes

Versions: 1

Compression:

Stored size: 435 Bytes

Contents

# frozen_string_literal: true

require_relative 'base'

module VirustotalAPI
  # A class for '/groups' API
  class Group < Base
    # Find a Group.
    #
    # @param [String] group_id to find
    # @param [String] api_key The key for virustotal
    # @return [VirustotalAPI::User] Report
    def self.find(group_id, api_key)
      report = perform("/groups/#{group_id}", api_key)
      new(report)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
virustotal_api_compat-0.1.7 lib/virustotal_api/group.rb