Class: Logistics::Core::ContractService
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Logistics::Core::ContractService
- Defined in:
- app/models/logistics/core/contract_service.rb
Instance Method Summary collapse
- #service_delivery_unit_id ⇒ Object
- #service_delivery_unit_name ⇒ Object
- #unit_of_charge_name ⇒ Object
Methods inherited from ApplicationRecord
Instance Method Details
#service_delivery_unit_id ⇒ Object
18 19 20 |
# File 'app/models/logistics/core/contract_service.rb', line 18 def service_delivery_unit_id chargeable_service_unit_of_charge&.service_delivery_unit_id end |
#service_delivery_unit_name ⇒ Object
15 16 17 |
# File 'app/models/logistics/core/contract_service.rb', line 15 def service_delivery_unit_name chargeable_service_unit_of_charge&.service_delivery_unit&.name end |
#unit_of_charge_name ⇒ Object
12 13 14 |
# File 'app/models/logistics/core/contract_service.rb', line 12 def unit_of_charge_name chargeable_service_unit_of_charge&.unit_of_charge&.name end |