Class: Browser
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- Browser
- Includes:
- Checkable, Toggleable
- Defined in:
- app/models/browser.rb
Overview
Browser
Attributes:
agents_count [integer]
banned [boolean]
created_at [DateTime]
mobile [boolean]
name [string]
updated_at [DateTime]
version [string]
Constant Summary collapse
- NAME_LIMIT =
50
- VERSION_LIMIT =
10
Class Method Summary collapse
Class Method Details
.entity_parameters ⇒ Object
31 32 33 |
# File 'app/models/browser.rb', line 31 def self.entity_parameters %i[banned mobile name version] end |