class Airbrake::Query

def to_h

def to_h
  {
    'method' => method,
    'route' => route,
    'query' => query,
    'time' => @time_utc,
    'function' => func,
    'file' => file,
    'line' => line,
  }.delete_if { |_key, val| val.nil? }
end