Module: Simple::Httpd::ServiceIntegration::Helpers
- Defined in:
- lib/simple/httpd/service_integration.rb
Instance Method Summary collapse
Instance Method Details
#context ⇒ Object
137 138 139 140 141 |
# File 'lib/simple/httpd/service_integration.rb', line 137 def context # We return nil here. nil *is* a valid value for Simple::Service.with_context. # Important is that with_context is being called. nil end |
#stringified_params ⇒ Object
131 132 133 134 135 |
# File 'lib/simple/httpd/service_integration.rb', line 131 def stringified_params params.each_with_object({}) do |(k, v), hsh| hsh[k.to_s] = v end end |