Method: Landline::DSL::PathConstructors#head
- Defined in:
- lib/landline/dsl/constructors_path.rb
#head(path, **args, &setup) ⇒ Object
Create a new Handlers::HEADHandler object
54 55 56 57 58 59 |
# File 'lib/landline/dsl/constructors_path.rb', line 54 def head(path, **args, &setup) register(Landline::Handlers::HEAD.new(path, parent: @origin, **args, &setup)) end |