Class: Request::Method
- Inherits:
-
Object
- Object
- Request::Method
- Includes:
- Adamantium
- Defined in:
- lib/request/method.rb
Overview
The request method of a request
Constant Summary collapse
- ALL =
[]
- INDEX =
ALL.each_with_object({}) do |method, index| index[method.verb]=method end.freeze
Instance Attribute Summary collapse
-
#verb ⇒ String
readonly
private
Return verb.
Class Method Summary collapse
-
.get(verb) ⇒ Method
private
Return request method.
Instance Attribute Details
#verb ⇒ String (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return verb
22 23 24 |
# File 'lib/request/method.rb', line 22 def verb @verb end |