18F/dolores-landingham-slack-bot

View on GitHub
app/services/slack_api_wrapper.rb

Summary

Maintainability
A
0 mins
Test Coverage

Prefer detect over find.
Open

    @slack_user ||= all_slack_users.find do |user_data|
Severity: Minor
Found in app/services/slack_api_wrapper.rb by rubocop

This cop enforces the use of consistent method names from the Enumerable module.

Unfortunately we cannot actually know if a method is from Enumerable or not (static analysis limitation), so this cop can yield some false positives.

Prefer detect over find.
Open

    @slack_user ||= all_slack_users.find do |user_data|
Severity: Minor
Found in app/services/slack_api_wrapper.rb by rubocop

This cop enforces the use of consistent method names from the Enumerable module.

Unfortunately we cannot actually know if a method is from Enumerable or not (static analysis limitation), so this cop can yield some false positives.

There are no issues that match your filters.

Category
Status