bikeindex/bike_index

View on GitHub
app/models/graduated_notification.rb

Summary

Maintainability
B
4 hrs
Test Coverage
A
90%

Class GraduatedNotification has 57 methods (exceeds 40 allowed). Consider refactoring.
Open

class GraduatedNotification < ApplicationRecord
  STATUS_ENUM = {pending: 0, bike_graduated: 1, marked_remaining: 2}.freeze
  PENDING_PERIOD = 24.hours.freeze

  belongs_to :bike
Severity: Major
Found in app/models/graduated_notification.rb - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status