bikeindex/bike_index

View on GitHub
app/models/theft_alert.rb

Summary

Maintainability
A
2 hrs
Test Coverage
B
86%

Class TheftAlert has 45 methods (exceeds 40 allowed). Consider refactoring.
Open

class TheftAlert < ApplicationRecord
  STATUS_ENUM = {pending: 0, active: 1, inactive: 2}.freeze
  # Timestamp 1s before first alert was automated
  AUTOMATION_START = 1625586988 # 2021-7-6

Severity: Minor
Found in app/models/theft_alert.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status