Class: Deadlinez::Proxy
- Inherits:
-
Object
- Object
- Deadlinez::Proxy
- Defined in:
- lib/deadlinez/proxy.rb
Class Method Summary collapse
Class Method Details
.strip_params(params) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/deadlinez/proxy.rb', line 3 def self.strip_params(params) copy = params.dup [:action, :controller, :path].each do |k| copy.delete(k) end copy end |