Class: Yuso::Yamato
- Inherits:
-
Object
- Object
- Yuso::Yamato
- Defined in:
- lib/yuso/yamato.rb,
lib/yuso/yamato/mapping.rb,
lib/yuso/yamato/shipping_fee.rb
Defined Under Namespace
Classes: Mapping, ShippingFee
Class Method Summary collapse
Class Method Details
.delivery_time_periods ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/yuso/yamato.rb', line 4 def self.delivery_time_periods [ Yuso::DeliveryTimePeriod.new(company: 'yamato', period: '08:00 - 12:00', deadline: '07:00'), Yuso::DeliveryTimePeriod.new(company: 'yamato', period: '14:00 - 16:00', deadline: '13:40'), Yuso::DeliveryTimePeriod.new(company: 'yamato', period: '16:00 - 18:00', deadline: '15:40'), Yuso::DeliveryTimePeriod.new(company: 'yamato', period: '18:00 - 20:00', deadline: '17:40'), Yuso::DeliveryTimePeriod.new(company: 'yamato', period: '19:00 - 21:00', deadline: '18:40') ] end |