Class: ObjectsFramework::ObjectHandler
- Inherits:
-
Object
- Object
- ObjectsFramework::ObjectHandler
- Defined in:
- lib/objectsframework/autoparams.rb
Class Method Summary collapse
Class Method Details
.finished(klass, request, response, context) ⇒ Object
3 4 5 6 7 |
# File 'lib/objectsframework/autoparams.rb', line 3 def self.finished(klass,request,response,context) request.params.each_pair do |key,value| klass.define_singleton_method key, lambda {value} end end |