Sha256: b9550dd1a917cf33baef28fd694d63c8748d4425b8c65c4035b9a7db80085c8e

Contents?: true

Size: 415 Bytes

Versions: 2

Compression:

Stored size: 415 Bytes

Contents

module VAAS
  class VaasVerdict

    attr_reader :sha256, :verdict, :guid, :detection, :mime_type, :file_type

    def initialize(response)
      @sha256 = response['sha256']
      @verdict = response['verdict']
      @guid = response['guid']
      @detection = response.fetch("detection", "")
      @mime_type = response.fetch("mime_type", "")
      @file_type = response.fetch("file_type", "")
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vaas-4.1.0 lib/vaas/vaas_verdict.rb
vaas-4.0.0 lib/vaas/vaas_verdict.rb