lib/tasks/search_have_i_been_pwned.rb
def run
    super

    email_address = _get_entity_name

    @api_key = _get_task_config("hibp_api_key")
    unless @api_key
      _log_error "unable to proceed, no API key for HIBP provided"
      return
    end

    _search_pastes_and_create_issues(email_address) if _get_option("search_pastes")
    _search_breaches_and_create_issues(email_address) if _get_option("search_breaches")
  end
## Default method, subclasses must override this
Default method, subclasses must override this
Default method subclasses must override this
def run
    super
    email_address = _get_entity_name
    @api_key = _get_task_config("hibp_api_key")
    unless @api_key
      _log_error "unable to proceed, no API key for HIBP provided"
      return
    end
    _search_pastes_and_create_issues(email_address) if _get_option("search_pastes")
    _search_breaches_and_create_issues(email_address) if _get_option("search_breaches")
  end
def run super email_address = _get_entity_name @api_key = _get_task_config ( "hibp_api_key" ) unless @api_key _log_error "unable to proceed, no API key for HIBP provided" return end _search_pastes_and_create_issues ( email_address ) if _get_option ( "search_pastes" ) _search_breaches_and_create_issues ( email_address ) if _get_option ( "search_breaches" ) end
Default method, subclasses must override this
Default method subclasses must override this