Method: FTW::Request#method
- Defined in:
- lib/ftw/request.rb
#method ⇒ Object
The http method. Like GET, PUT, POST, etc.. RFC2616 5.1.1 - <tools.ietf.org/html/rfc2616#section-5.1.1>
Warning: this accessor obscures the ruby Kernel#method() method. I would like to call this ‘verb’, but my preference is first to adhere to RFC terminology. Further, ruby’s stdlib Net::HTTP calls this ‘method’ as well (See Net::HTTPGenericRequest).
29 30 31 |
# File 'lib/ftw/request.rb', line 29 def method @method end |