Class: Country
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Country
- Includes:
- FlatPriority, Toggleable
- Defined in:
- app/models/country.rb
Overview
Country.
Only visibility and priority are available for editing. Primary model data is in central site.
Attributes:
created_at [DateTime]
locative [string]
name [string]
priority [integer]
regions_count [integer]
short_name [string]
slug [string]
updated_at [DateTime]
visible [boolean]
Class Method Summary collapse
Class Method Details
.entity_parameters ⇒ Object
30 31 32 |
# File 'app/models/country.rb', line 30 def self.entity_parameters i[visible priority] end |