Class: Simphi::Request
- Inherits:
-
Rack::Request
- Object
- Rack::Request
- Simphi::Request
- Defined in:
- lib/simphi/request.rb
Instance Method Summary collapse
Instance Method Details
#normalize_hash_params ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/simphi/request.rb', line 5 def normalize_hash_params params.each do |key, value| normalize_to_proper_params(value) if with_hash? value if with_hash? key param = delete_param(key) update_param(key.gsub(/-simphi/, ''), normalized_hash(param)) end end if with_hash? params end |