Class: Logistics::Core::ChargeableService
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Logistics::Core::ChargeableService
- Defined in:
- app/models/logistics/core/chargeable_service.rb
Class Method Summary collapse
Methods inherited from ApplicationRecord
Class Method Details
.build(options = {}) ⇒ Object
9 10 11 |
# File 'app/models/logistics/core/chargeable_service.rb', line 9 def self.build( = {}) ChargeableService.new() end |
.get_chargeable_service_type(cs_id) ⇒ Object
13 14 15 16 |
# File 'app/models/logistics/core/chargeable_service.rb', line 13 def self.get_chargeable_service_type(cs_id) chargeable_service = ChargeableService.find(cs_id) chargeable_service.chargeable_service_type.name end |