Class: Logistics::Core::OperationDocument
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Logistics::Core::OperationDocument
- Defined in:
- app/models/logistics/core/operation_document.rb
Instance Method Summary collapse
Methods inherited from ApplicationRecord
Instance Method Details
#acceptor_name ⇒ Object
18 19 20 |
# File 'app/models/logistics/core/operation_document.rb', line 18 def acceptor_name self.acceptor&.first_name.to_s + ' ' + self.acceptor&.last_name.to_s end |
#user_name ⇒ Object
14 15 16 |
# File 'app/models/logistics/core/operation_document.rb', line 14 def user_name self.user&.first_name.to_s + ' ' + self.user&.last_name.to_s end |