class Minfraud::Model::ScoreIPAddress

Model containing the IP address's risk for the Score response.

Attributes

risk[R]

This field contains the risk associated with the IP address. The value ranges from 0.01 to 99. A higher score indicates a higher risk.

@return [Float]

Public Class Methods

new(record) click to toggle source

@!visibility private

Calls superclass method Minfraud::Model::Abstract::new
# File lib/minfraud/model/score_ip_address.rb, line 16
def initialize(record)
  super(record)

  @risk = get('risk')
end