module Grape::Http::Headers
Constants
- ALLOW
- HTTP_ACCEPT
- HTTP_ACCEPT_VERSION
- HTTP_HEADERS
- HTTP_TRANSFER_ENCODING
- LOCATION
- SUPPORTED_METHODS
- SUPPORTED_METHODS_WITHOUT_OPTIONS
- TRANSFER_ENCODING
- X_CASCADE
Public Class Methods
find_supported_method(route_method)
click to toggle source
# File lib/grape/http/headers.rb, line 50 def self.find_supported_method(route_method) Grape::Http::Headers::SUPPORTED_METHODS.detect { |supported_method| supported_method.casecmp(route_method).zero? } end