Validate method parameter
Usage
validate_method(method, valid_methods, param_name = "method")
Arguments
- method
Method to validate
- valid_methods
Vector of valid methods
- param_name
Parameter name for error messages
Value
TRUE if valid, stops with error if invalid