rubysg/rubysg-reboot

View on GitHub
app/jobs/send_weekly_updates_job.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method perform has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def perform(id)
    sub = RubySgBotSubscriber.find_by!(chat_id: id.to_s)
    featured_articles = RubyWeekly.new.featured_articles

    send_telegram_message(
Severity: Minor
Found in app/jobs/send_weekly_updates_job.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status