Class: Peictt::Http::POST
Constant Summary
Constants inherited from Http
Http::CONTROLLER_ACTION_REGEXP, Http::INVALID_ARG_ERROR, Http::INVALID_ROUTE_ARG, Http::INVALID_URL_FORMAT
Instance Attribute Summary
Attributes inherited from Http
#action, #controller, #placeholders, #regexp, #url, #verb
Instance Method Summary collapse
-
#initialize(*args) ⇒ POST
constructor
A new instance of POST.
Constructor Details
#initialize(*args) ⇒ POST
Returns a new instance of POST.
4 5 6 7 |
# File 'lib/peictt/http/post.rb', line 4 def initialize(*args) super @verb = "POST" end |