Method: Yake::API::DSL#put

Defined in:
lib/yake/api.rb

#put(path, &block) ⇒ Object

Define PUT route



102
103
104
# File 'lib/yake/api.rb', line 102

def put(path, &block)
  define_singleton_method("PUT #{ path }") { |*args| instance_exec(*args, &block) }
end