Class: Spree::DeliveryMethodService
- Inherits:
-
Object
- Object
- Spree::DeliveryMethodService
- Defined in:
- app/models/spree/delivery_method_service.rb
Overview
One carrier service a delivery method offers ("UPS" / "Ground"), with an optional display label and markup overriding the method's defaults. A method with no service rows offers every service its rate provider returns — rows exist to narrow or customize, never to enable.
Instance Method Summary collapse
-
#service_key ⇒ String
The identity DeliveryRateProvider::Estimate#service_key matches against.
Instance Method Details
#service_key ⇒ String
The identity DeliveryRateProvider::Estimate#service_key matches against.
20 21 22 |
# File 'app/models/spree/delivery_method_service.rb', line 20 def service_key "#{carrier}/#{service}" end |