class

Avram::GenericAttribute

Inherits Reference < Object

A generic version of Avram::Attribute that is used for reporting and metrics.

This is a data only version of an Avram::Attribute. It is purely for retrieving and reporting on data. For example, Avram::GenericAttribute is used by Avram::Events::SaveFailedEvent so that subscribers can get information about attributes that failed to save.

Constructors

new(name : Symbol, param : String | Nil, original_value : String | Nil, value : String | Nil, param_key : String, errors : Array(String))
Source

Instance methods

errors
Source
name
Source
original_value
Source
param
Source
param_key
Source
valid?
Source
value
Source