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

Version Path
praxis-2.0.0 lib/praxis/request_stages/validate.rb
praxis-2.0.pre.40 lib/praxis/request_stages/validate.rb
praxis-2.0.pre.39 lib/praxis/request_stages/validate.rb
praxis-2.0.pre.38 lib/praxis/request_stages/validate.rb
praxis-2.0.pre.37 lib/praxis/request_stages/validate.rb
praxis-2.0.pre.36 lib/praxis/request_stages/validate.rb
praxis-2.0.pre.35 lib/praxis/request_stages/validate.rb
praxis-2.0.pre.34 lib/praxis/request_stages/validate.rb
praxis-2.0.pre.33 lib/praxis/request_stages/validate.rb
praxis-2.0.pre.32 lib/praxis/request_stages/validate.rb
praxis-2.0.pre.31 lib/praxis/request_stages/validate.rb
praxis-2.0.pre.30 lib/praxis/request_stages/validate.rb
praxis-2.0.pre.29 lib/praxis/request_stages/validate.rb
praxis-2.0.pre.28 lib/praxis/request_stages/validate.rb
praxis-2.0.pre.27 lib/praxis/request_stages/validate.rb
praxis-2.0.pre.26 lib/praxis/request_stages/validate.rb
praxis-2.0.pre.25 lib/praxis/request_stages/validate.rb
praxis-2.0.pre.24 lib/praxis/request_stages/validate.rb
praxis-2.0.pre.23 lib/praxis/request_stages/validate.rb
praxis-2.0.pre.22 lib/praxis/request_stages/validate.rb