Module: EagleClaw::Formatters::JSON
- Includes:
- EagleClaw::Formatter
- Defined in:
- lib/eagleclaw/formatters/json.rb
Class Method Summary collapse
Class Method Details
.format(data, problems) ⇒ Object
9 10 11 |
# File 'lib/eagleclaw/formatters/json.rb', line 9 def self.format(data, problems) {"data" => data, "problems" => problems}.to_json end |