Class: Iloxx::Shipping::ExpressService
- Defined in:
- lib/iloxx_shipping/service/express.rb
Constant Summary collapse
- VALID_TIMES =
[ 10, 12, 18, "Samstag12" ]
Instance Attribute Summary collapse
-
#time ⇒ Object
Returns the value of attribute time.
Attributes inherited from Service
Instance Method Summary collapse
Methods inherited from Service
Constructor Details
This class inherits a constructor from Iloxx::Shipping::Service
Instance Attribute Details
#time ⇒ Object
Returns the value of attribute time.
4 5 6 |
# File 'lib/iloxx_shipping/service/express.rb', line 4 def time @time end |
Instance Method Details
#service_type ⇒ Object
18 19 20 |
# File 'lib/iloxx_shipping/service/express.rb', line 18 def service_type "dpdExpress" + @time + (cod? ? 'COD' : '') end |