Sha256: b363769ed43bafeef60c3b050e31f1afc823b4758d6e18ac54330e7638f58369
Contents?: true
Size: 291 Bytes
Versions: 7
Compression:
Stored size: 291 Bytes
Contents
module Mondrian::REST::Formatters module AggregationJSON def self.call(result, env) add_parents = env['rack.request.query_hash']['parents'] == 'true' debug = env['rack.request.query_hash']['debug'] == 'true' result.to_h(add_parents, debug).to_json end end end
Version data entries
7 entries across 7 versions & 1 rubygems