app/models/theft_alert.rb
Class TheftAlert
has 45 methods (exceeds 40 allowed). Consider refactoring. Open
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