Class: Protocol::HTTP::Methods
- Inherits:
-
Object
- Object
- Protocol::HTTP::Methods
- Defined in:
- lib/protocol/http/methods.rb
Overview
HTTP method verbs
Direct Known Subclasses
Constant Summary collapse
- GET =
'GET'
- POST =
'POST'
- PUT =
'PUT'
- PATCH =
'PATCH'
- DELETE =
'DELETE'
- HEAD =
'HEAD'
- OPTIONS =
'OPTIONS'
- LINK =
'LINK'
- UNLINK =
'UNLINK'
- TRACE =
'TRACE'
- CONNECT =
'CONNECT'
Class Method Summary collapse
Class Method Details
.each ⇒ Object
39 40 41 42 43 |
# File 'lib/protocol/http/methods.rb', line 39 def self.each constants.each do |name| yield name, const_get(name) end end |