Methods
Instance Public methods
Define a route that only recognizes HTTP PUT. For supported arguments, see Base#match.
Example:
delete ‘broccoli’, :to => ‘foodbroccoli‘
Define a route that only recognizes HTTP GET. For supported arguments, see Base#match.
Example:
get ‘bacon’, :to => ‘foodbacon‘
Define a route that only recognizes HTTP POST. For supported arguments, see Base#match.
Example:
post ‘bacon’, :to => ‘foodbacon‘
Define a route that only recognizes HTTP PUT. For supported arguments, see Base#match.
Example:
put ‘bacon’, :to => ‘foodbacon‘