Sha256: 86736542dd9a166c023337baeb2baeac71c8f9339ef7acdc6f82ce39a30c55b4
Contents?: true
Size: 409 Bytes
Versions: 2
Compression:
Stored size: 409 Bytes
Contents
# frozen_string_literal: true module Quilt module Performance module Reportable def process_report(&block) Client.send!(Report.from_params(normalized_params), &block) end private def normalized_params return params unless request.content_type == "text/plain" ActionController::Parameters.new(JSON.parse(request.body.read)) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
quilt_rails-3.6.0 | lib/quilt_rails/performance/reportable.rb |
quilt_rails-3.5.6 | lib/quilt_rails/performance/reportable.rb |