class RecordDiff::Results::ErroredResult
If the ID can be matched, but the two records have changed.
Public Class Methods
new(id:, after:, before:, after_compare:, before_compare:)
click to toggle source
# File lib/record_diff/results/errored_result.rb, line 7 def initialize(id:, after:, before:, after_compare:, before_compare:) @id = id @after_original = after @after_compare = after_compare @before_original = before @before_compare = before_compare end
Public Instance Methods
error?()
click to toggle source
# File lib/record_diff/results/errored_result.rb, line 15 def error? true end