Sha256: c4414c1ea37e06c4d9f637870b0f809870df9c23ba1604a330c15fe1fb8622b0

Contents?: true

Size: 292 Bytes

Versions: 15

Compression:

Stored size: 292 Bytes

Contents

# frozen_string_literal: true

class ValidationError
  attr_accessor :message, :location, :file_name, :validator

  def initialize(params = {})
    @location = params[:location]
    @message = params[:message]
    @validator = params[:validator]
    @file_name = params[:file_name]
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
cqm-validators-4.0.5 lib/validation_error.rb
cqm-validators-4.0.4 lib/validation_error.rb
cqm-validators-4.0.3 lib/validation_error.rb
cqm-validators-4.0.2 lib/validation_error.rb
cqm-validators-4.0.1 lib/validation_error.rb
cqm-validators-3.1.3 lib/validation_error.rb
cqm-validators-4.0.0 lib/validation_error.rb
cqm-validators-3.1.2 lib/validation_error.rb
cqm-validators-3.1.1 lib/validation_error.rb
cqm-validators-2.0.2 lib/validation_error.rb
cqm-validators-3.0.1 lib/validation_error.rb
cqm-validators-3.0.0 lib/validation_error.rb
cqm-validators-2.0.1 lib/validation_error.rb
cqm-validators-2.0.0 lib/validation_error.rb
cqm-validators-1.0.1.0 lib/validation_error.rb