class Honeybadger::Agent

def context(context = nil)

Returns:
  • (self) - so that method calls can be chained.

Options Hash: (**context)
  • :tags (String) -- The comma-separated list of tags.
  • :user_email (String) -- The user email address (optional).
  • :user_id (String) -- The user ID used by Honeybadger

Parameters:
  • context (Hash) -- A Hash of data which will be sent to Honeybadger
def context(context = nil)
  context_manager.set_context(context) unless context.nil?
  self
end