Method: ATD::Route#put

Defined in:
lib/atd.rb

#put(path = nil, *args) ⇒ Object

Sets route to receive a put request to path and execute the block provided (if one is provided)

Parameters:

  • path (String) (defaults to: nil)

    The path at which the route should receive from.

Returns:

  • ATD::Route



# File 'lib/atd.rb', line 62