Class: NextSges::ResponsibleOther
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- ApplicationRecord
- NextSges::ResponsibleOther
- Defined in:
- app/models/next_sges/responsible_other.rb
Constant Summary collapse
- INITIAL_LETTER =
"O"
Constants inherited from ApplicationRecord
ApplicationRecord::CELL_REGEX, ApplicationRecord::DEFAULT_IDENTIFICATION_ENUM, ApplicationRecord::DEFAULT_STATUS_ENUM, ApplicationRecord::MAIL_REGEX
Instance Method Summary collapse
Methods inherited from ApplicationRecord
#create_number, #create_number!, map_for_filter, map_for_select
Instance Method Details
#first_and_last_name ⇒ Object
9 10 11 |
# File 'app/models/next_sges/responsible_other.rb', line 9 def first_and_last_name "#{first_name} #{last_name}" end |
#name_and_number ⇒ Object
13 14 15 |
# File 'app/models/next_sges/responsible_other.rb', line 13 def name_and_number "#{number} - #{first_and_last_name}" end |