Sha256: 5a95516c9b4af1fa2218190e8be0580846458cc136e3398609bf9d0224a4bb38
Contents?: true
Size: 409 Bytes
Versions: 17
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
17 entries across 17 versions & 1 rubygems