Sha256: daa40b5a17269efcc0df7ecf9f38bd07db6fa01eb3990b922907a3489638db5e

Contents?: true

Size: 426 Bytes

Versions: 15

Compression:

Stored size: 426 Bytes

Contents

# frozen_string_literal: true

module SecureNative
  class VerifyResult
    attr_reader :risk_level, :score, :triggers
    attr_writer :risk_level, :score, :triggers

    def initialize(risk_level: nil, score: nil, triggers: nil)
      @risk_level = risk_level
      @score = score
      @triggers = triggers
    end

    def to_s
      "risk_level: #{@risk_level}, score: #{@score}, triggers: #{@triggers}"
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
securenative-0.1.40 lib/securenative/verify_result.rb
securenative-0.1.39 lib/securenative/verify_result.rb
securenative-0.1.38 lib/securenative/verify_result.rb
securenative-0.1.37 lib/securenative/verify_result.rb
securenative-0.1.36 lib/securenative/verify_result.rb
securenative-0.1.35 lib/securenative/verify_result.rb
securenative-0.1.34 lib/securenative/verify_result.rb
securenative-0.1.33 lib/securenative/verify_result.rb
securenative-0.1.32 lib/securenative/verify_result.rb
securenative-0.1.31 lib/securenative/verify_result.rb
securenative-0.1.30 lib/securenative/verify_result.rb
securenative-0.1.28 lib/securenative/models/verify_result.rb
securenative-0.1.27 lib/securenative/models/verify_result.rb
securenative-0.1.26 lib/securenative/models/verify_result.rb
securenative-0.1.24 lib/securenative/models/verify_result.rb