Sha256: f481241434f6fc399ac007f4ae73157dd0a3116e0d021f3dbc6685b6d1e25d06
Contents?: true
Size: 353 Bytes
Versions: 23
Compression:
Stored size: 353 Bytes
Contents
# frozen_string_literal: true module Praxis class ValidationHandler # Should return the Response to send back def handle!(summary:, errors: nil, exception: nil, **opts) opts.delete(:request) opts.delete(:stage) Responses::ValidationError.new(summary: summary, errors: errors, exception: exception, **opts) end end end
Version data entries
23 entries across 23 versions & 1 rubygems
Version | Path |
---|---|
praxis-2.0.pre.21 | lib/praxis/validation_handler.rb |
praxis-2.0.pre.20 | lib/praxis/validation_handler.rb |
praxis-2.0.pre.19 | lib/praxis/validation_handler.rb |