Class: Antispam::Ip
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Antispam::Ip
- Defined in:
- app/models/antispam/ip.rb
Instance Method Summary collapse
Instance Method Details
#expired? ⇒ Boolean
4 5 6 |
# File 'app/models/antispam/ip.rb', line 4 def expired? self.expires_at < Time.now end |