class Minfraud::Model::Error

Model with information about an error.

Attributes

code[R]

An error code for machine use.

@return [String]

error[R]

A human readable error message.

@return [String]

Public Class Methods

new(record) click to toggle source

@!visibility private

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

  @code  = get('code')
  @error = get('error')
end