Class: ProcessingEvent

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/processing_event.rb

Overview

A record of an action the system has taken, in response to a ConcreteIssue found in a FindingAidVersion during the course of a Run

Instance Attribute Summary (collapse)

Belongs to (collapse)

Has one (collapse)

Instance Attribute Details

- (DateTime) created_at

Returns:

  • (DateTime)


83
# File 'db/schema.rb', line 83

t.datetime "created_at"

- (Boolean) failed

Returns:

  • (Boolean)


86
# File 'db/schema.rb', line 86

t.boolean  "failed",                 default: false, null: false

- (DateTime) updated_at

Returns:

  • (DateTime)


84
# File 'db/schema.rb', line 84

t.datetime "updated_at"

Instance Method Details

- (FindingAidVersion) finding_aid_version



5
# File 'app/models/processing_event.rb', line 5

belongs_to :finding_aid_version

- (Issue) issue

Returns:

See Also:



4
# File 'app/models/processing_event.rb', line 4

belongs_to :issue

- (Run) run

Returns:

See Also:



7
# File 'app/models/processing_event.rb', line 7

belongs_to :run

- (Schematron) schematron

Returns:

See Also:



6
# File 'app/models/processing_event.rb', line 6

has_one :schematron, through: :runs