class LittleGhost::StructuredResult
Associates a validated structured value with its declared schema name.
result = LittleGhost::StructuredResult.new( schema_name: "support_research", value: {"summary" => "The transfer is still settling."} ) result.value.fetch("summary") # => "The transfer is still settling."
Attributes
The name declared with Agent.result_schema.
The locally validated application value.
Public Class Methods
# File lib/little_ghost/run_result.rb, line 44
Associates value with the schema that validated it.