Class: CentralRegion
- Inherits:
-
Object
- Object
- CentralRegion
- Defined in:
- app/models/central_region.rb
Instance Method Summary collapse
- #child_regions ⇒ Object
- #header_image ⇒ Object
- #id ⇒ Object
- #image ⇒ Object
- #locative ⇒ Object
- #long_slug ⇒ Object
- #name ⇒ Object
- #parent ⇒ Object
- #parent_id ⇒ Object
- #parents ⇒ Object
- #short_name ⇒ Object
- #slug ⇒ Object
- #subbranch_ids ⇒ Object
Instance Method Details
#child_regions ⇒ Object
46 47 48 |
# File 'app/models/central_region.rb', line 46 def child_regions [] end |
#header_image ⇒ Object
30 31 32 |
# File 'app/models/central_region.rb', line 30 def header_image nil end |
#id ⇒ Object
2 3 4 |
# File 'app/models/central_region.rb', line 2 def id nil end |
#image ⇒ Object
26 27 28 |
# File 'app/models/central_region.rb', line 26 def image nil end |
#locative ⇒ Object
14 15 16 |
# File 'app/models/central_region.rb', line 14 def locative I18n.t('activerecord.attributes.central_region.locative') end |
#long_slug ⇒ Object
22 23 24 |
# File 'app/models/central_region.rb', line 22 def long_slug '' end |
#name ⇒ Object
6 7 8 |
# File 'app/models/central_region.rb', line 6 def name I18n.t('activerecord.attributes.central_region.name') end |
#parent ⇒ Object
38 39 40 |
# File 'app/models/central_region.rb', line 38 def parent nil end |
#parent_id ⇒ Object
42 43 44 |
# File 'app/models/central_region.rb', line 42 def parent_id nil end |
#parents ⇒ Object
34 35 36 |
# File 'app/models/central_region.rb', line 34 def parents [] end |
#short_name ⇒ Object
10 11 12 |
# File 'app/models/central_region.rb', line 10 def short_name I18n.t('activerecord.attributes.central_region.short_name') end |
#slug ⇒ Object
18 19 20 |
# File 'app/models/central_region.rb', line 18 def slug '' end |
#subbranch_ids ⇒ Object
50 51 52 |
# File 'app/models/central_region.rb', line 50 def subbranch_ids [] end |