class ActiveShepherd::ChangesValidator

Attributes

errors[R]
record[R]

Public Class Methods

new(record) click to toggle source
# File lib/active_shepherd/changes_validator.rb, line 4
def initialize(record)
  @record = record
end

Public Instance Methods

validate(changes) click to toggle source
# File lib/active_shepherd/changes_validator.rb, line 8
def validate(changes)
  @errors = []
end