module EagleClaw::Formatters::JSON
Public Class Methods
format(data, problems)
click to toggle source
# File lib/eagleclaw/formatters/json.rb, line 9 def self.format(data, problems) {"data" => data, "problems" => problems}.to_json end