Method: Wellness::DetailedReport#render
- Defined in:
- lib/wellness/detailed_report.rb
#render(options = {}) ⇒ Object
57 58 59 60 61 62 |
# File 'lib/wellness/detailed_report.rb', line 57 def render(={}) status = [:status] || 200 response = JSON.dump([:json]) [status, { 'Content-Type' => 'application/json' }, [response]] end |