Method: Yake::API::DSL#any
- Defined in:
- lib/yake/api.rb
#any(path, &block) ⇒ Object
Define ANY route
60 61 62 |
# File 'lib/yake/api.rb', line 60 def any(path, &block) define_singleton_method("ANY #{ path }") { |*args| instance_exec(*args, &block) } end |