Class: Peictt::Http::POST

Inherits:
Http show all
Defined in:
lib/peictt/http/post.rb

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

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