Class: Seahorse::Client::Plugins::ParamValidation::Handler

Inherits:
Handler
  • Object
show all
Defined in:
lib/seahorse/client/plugins/param_validation.rb

Instance Attribute Summary

Attributes inherited from Handler

#handler

Instance Method Summary collapse

Methods inherited from Handler

#initialize, #inspect

Constructor Details

This class inherits a constructor from Seahorse::Client::Handler

Instance Method Details

#call(context) ⇒ Object



20
21
22
23
# File 'lib/seahorse/client/plugins/param_validation.rb', line 20

def call(context)
  ParamValidator.validate!(context.operation.input, context.params)
  @handler.call(context)
end