Method: JSONAPI::Exceptions::HeadersExceptions.check_request
- Defined in:
- lib/easy/jsonapi/exceptions/headers_exceptions.rb
.check_request(env, config_manager = nil, opts = {}) ⇒ Object
Check http verb vs included headers
30 31 32 33 |
# File 'lib/easy/jsonapi/exceptions/headers_exceptions.rb', line 30 def self.check_request(env, config_manager = nil, opts = {}) check_compliance(env, config_manager, opts) check_http_method_against_headers(env, opts[:contains_body]) end |