Sha256: cfe7a09c15fa7141a5e593f1005bfcadbcdb14ec3659841a4a107f8cdb8f1469
Contents?: true
Size: 424 Bytes
Versions: 23
Compression:
Stored size: 424 Bytes
Contents
# frozen_string_literal: true module Praxis module RequestStages class Validate < RequestStage def initialize(name, context, **opts) super # Add our sub-stages @stages = [ RequestStages::ValidateParamsAndHeaders.new(:params_and_headers, context, parent: self), RequestStages::ValidatePayload.new(:payload, context, parent: self) ] end end end end
Version data entries
23 entries across 23 versions & 1 rubygems