lib/quilt_rails/performance/report.rb in quilt_rails-3.5.5 vs lib/quilt_rails/performance/report.rb in quilt_rails-3.5.6
- old
+ new
@@ -8,10 +8,10 @@
attr_accessor :connection
class << self
def from_params(params)
params.transform_keys! { |key| key.underscore.to_sym }
- params[:connection] = { effectiveType: 'unknown' } if params[:connection].blank?
+ params[:connection] = { effectiveType: "unknown" } if params[:connection].blank?
connection = Connection.from_params(params[:connection])
Report.new(
connection: connection,