module Airbrake::Inspectable

def inspect

Returns:
  • (String) - customized inspect to lessen the amount of clutter
def inspect
  format(
    INSPECT_TEMPLATE,
    classname: self.class.name,
    id: (object_id << 1).to_s(16).rjust(16, '0'),
    project_id: @config.project_id,
    project_key: @config.project_key,
    host: @config.host,
    filter_chain: @filter_chain.inspect,
  )
end

def pretty_print(q)

Returns:
  • (String) - {#inspect} for PrettyPrint
def pretty_print(q)
  q.text("#<#{self.class}:0x#{(object_id << 1).to_s(16).rjust(16, '0')} ")
  q.text(
    "project_id=\"#{@config.project_id}\" project_key=\"#{@config.project_key}\" " \
    "host=\"#{@config.host}\" filter_chain=",
  )
  q.pp(@filter_chain)
  q.text('>')
end