Sha256: 6de31653360d50b949131fdf0c80f21d508b6bfbc6ab6ca0bd8e244e9283ece9

Contents?: true

Size: 288 Bytes

Versions: 20

Compression:

Stored size: 288 Bytes

Contents

module Praxis
  class ValidationHandler

    # Should return the Response to send back
    def handle!(summary:, request:, stage:, errors: nil, exception: nil, **opts)
      Responses::ValidationError.new(summary: summary, errors: errors, exception: exception, **opts)
    end

  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
praxis-2.0.pre.18 lib/praxis/validation_handler.rb
praxis-2.0.pre.17 lib/praxis/validation_handler.rb
praxis-2.0.pre.16 lib/praxis/validation_handler.rb
praxis-2.0.pre.15 lib/praxis/validation_handler.rb
praxis-2.0.pre.14 lib/praxis/validation_handler.rb
praxis-2.0.pre.13 lib/praxis/validation_handler.rb
praxis-2.0.pre.12 lib/praxis/validation_handler.rb
praxis-2.0.pre.11 lib/praxis/validation_handler.rb
praxis-2.0.pre.10 lib/praxis/validation_handler.rb
praxis-2.0.pre.9 lib/praxis/validation_handler.rb
praxis-2.0.pre.8 lib/praxis/validation_handler.rb
praxis-2.0.pre.7 lib/praxis/validation_handler.rb
praxis-2.0.pre.6 lib/praxis/validation_handler.rb
praxis-0.20.1 lib/praxis/validation_handler.rb
praxis-0.20.0 lib/praxis/validation_handler.rb
praxis-0.19.0 lib/praxis/validation_handler.rb
praxis-0.18.1 lib/praxis/validation_handler.rb
praxis-0.18.0 lib/praxis/validation_handler.rb
praxis-0.17.1 lib/praxis/validation_handler.rb
praxis-0.17.0 lib/praxis/validation_handler.rb