reactive_freight 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +5 -0
  3. data/MIT-LICENSE +20 -0
  4. data/README.md +166 -0
  5. data/Rakefile +8 -0
  6. data/accessorial_symbols.txt +95 -0
  7. data/lib/reactive_freight.rb +21 -0
  8. data/lib/reactive_freight/carrier.rb +62 -0
  9. data/lib/reactive_freight/carriers.rb +18 -0
  10. data/lib/reactive_freight/carriers/btvp.rb +384 -0
  11. data/lib/reactive_freight/carriers/clni.rb +59 -0
  12. data/lib/reactive_freight/carriers/ctbv.rb +35 -0
  13. data/lib/reactive_freight/carriers/dphe.rb +296 -0
  14. data/lib/reactive_freight/carriers/drrq.rb +303 -0
  15. data/lib/reactive_freight/carriers/fcsy.rb +24 -0
  16. data/lib/reactive_freight/carriers/fwda.rb +243 -0
  17. data/lib/reactive_freight/carriers/jfj_transportation.rb +11 -0
  18. data/lib/reactive_freight/carriers/pens.rb +135 -0
  19. data/lib/reactive_freight/carriers/rdfs.rb +320 -0
  20. data/lib/reactive_freight/carriers/saia.rb +336 -0
  21. data/lib/reactive_freight/carriers/sefl.rb +234 -0
  22. data/lib/reactive_freight/carriers/totl.rb +96 -0
  23. data/lib/reactive_freight/carriers/wrds.rb +218 -0
  24. data/lib/reactive_freight/configuration/carriers/btvp.yml +139 -0
  25. data/lib/reactive_freight/configuration/carriers/clni.yml +107 -0
  26. data/lib/reactive_freight/configuration/carriers/ctbv.yml +117 -0
  27. data/lib/reactive_freight/configuration/carriers/dphe.yml +124 -0
  28. data/lib/reactive_freight/configuration/carriers/drrq.yml +115 -0
  29. data/lib/reactive_freight/configuration/carriers/fcsy.yml +104 -0
  30. data/lib/reactive_freight/configuration/carriers/fwda.yml +117 -0
  31. data/lib/reactive_freight/configuration/carriers/jfj_transportation.yml +2 -0
  32. data/lib/reactive_freight/configuration/carriers/pens.yml +22 -0
  33. data/lib/reactive_freight/configuration/carriers/rdfs.yml +135 -0
  34. data/lib/reactive_freight/configuration/carriers/saia.yml +117 -0
  35. data/lib/reactive_freight/configuration/carriers/sefl.yml +115 -0
  36. data/lib/reactive_freight/configuration/carriers/totl.yml +107 -0
  37. data/lib/reactive_freight/configuration/carriers/wrds.yml +19 -0
  38. data/lib/reactive_freight/configuration/platforms/carrier_logistics.yml +25 -0
  39. data/lib/reactive_freight/configuration/platforms/liftoff.yml +12 -0
  40. data/lib/reactive_freight/package.rb +137 -0
  41. data/lib/reactive_freight/platform.rb +36 -0
  42. data/lib/reactive_freight/platforms.rb +4 -0
  43. data/lib/reactive_freight/platforms/carrier_logistics.rb +317 -0
  44. data/lib/reactive_freight/platforms/liftoff.rb +102 -0
  45. data/lib/reactive_freight/rate_estimate.rb +113 -0
  46. data/lib/reactive_freight/shipment_event.rb +10 -0
  47. data/reactive_freight.gemspec +39 -0
  48. data/service_type_symbols.txt +4 -0
  49. metadata +198 -0
@@ -0,0 +1,104 @@
1
+ :accessorials:
2
+ :mappable:
3
+ :appointment_delivery: '&NOT=yes'
4
+ :liftgate_delivery: '&LIFTGATE=yes'
5
+ :liftgate_pickup: '&LIFTPU=yes'
6
+ :residential_delivery: '&RESIDENT=yes'
7
+ :residential_pickup: '&NONCMPU=yes'
8
+ # May be inaccurate
9
+ :unquotable:
10
+ - :amusement_park_delivery
11
+ - :amusement_park_pickup
12
+ - :athletic_facility_delivery
13
+ - :athletic_facility_delivery
14
+ - :athletic_facility_pickup
15
+ - :cemetery_delivery
16
+ - :cemetery_pickup
17
+ - :church_delivery
18
+ - :church_pickup
19
+ - :construction_delivery
20
+ - :construction_pickup
21
+ - :dock_dropoff
22
+ - :dock_pickup
23
+ - :farm_delivery
24
+ - :farm_pickup
25
+ - :fitness_center_delivery
26
+ - :fitness_center_pickup
27
+ - :golf_course_delivery
28
+ - :golf_course_pickup
29
+ - :government_delivery
30
+ - :government_pickup
31
+ - :grocery_store_delivery
32
+ - :grocery_store_pickup
33
+ - :hospital_delivery
34
+ - :hospital_pickup
35
+ - :hotel_delivery
36
+ - :hotel_pickup
37
+ - :inspection_site_delivery
38
+ - :inspection_site_pickup
39
+ - :jobsite_delivery
40
+ - :jobsite_pickup
41
+ - :mall_delivery
42
+ - :mall_pickup
43
+ - :marina_delivery
44
+ - :marina_pickup
45
+ - :military_site_delivery
46
+ - :military_site_pickup
47
+ - :mine_site_delivery
48
+ - :mine_site_pickup
49
+ - :motel_delivery
50
+ - :motel_pickup
51
+ - :nursing_home_delivery
52
+ - :nursing_home_pickup
53
+ - :park_delivery
54
+ - :park_pickup
55
+ - :prison_delivery
56
+ - :prison_pickup
57
+ - :ranch_delivery
58
+ - :ranch_pickup
59
+ - :reservation_delivery
60
+ - :reservation_pickup
61
+ - :resort_delivery
62
+ - :resort_pickup
63
+ - :restaurant_delivery
64
+ - :restaurant_pickup
65
+ - :school_delivery
66
+ - :school_pickup
67
+ - :steel_mill_delivery
68
+ - :steel_mill_pickup
69
+ - :storage_facility_delivery
70
+ - :storage_facility_pickup
71
+ - :university_delivery
72
+ - :university_pickup
73
+ - :utility_site_delivery
74
+ - :utility_site_pickup
75
+ # May be inaccurate
76
+ :unserviceable:
77
+ - :airport_delivery
78
+ - :airport_pickup
79
+ - :appointment_pickup
80
+ - :brewery_delivery
81
+ - :brewery_pickup
82
+ - :convention_delivery
83
+ - :convention_pickup
84
+ - :customs_brokerage
85
+ - :driver_assist
86
+ - :early_morning_delivery
87
+ - :fair_delivery
88
+ - :fair_pickup
89
+ - :flatbed_delivery
90
+ - :flatbed_pickup
91
+ - :grocery_warehouse_delivery
92
+ - :grocery_warehouse_pickup
93
+ - :guaranteed_delivery
94
+ - :guaranteed_delivery_am
95
+ - :guaranteed_delivery_pm
96
+ - :inside_delivery
97
+ - :inside_pickup
98
+ - :winery_delivery
99
+ - :winery_pickup
100
+ :api:
101
+ :carrier_code: fro
102
+ :services:
103
+ :types:
104
+ - :standard
@@ -0,0 +1,117 @@
1
+ :accessorials:
2
+ :mappable:
3
+ :delivery:
4
+ :afterhours_delivery: XPD
5
+ :airport_delivery: ALD
6
+ :amusement_park_delivery: CCD
7
+ :appointment_delivery: ADE
8
+ :convention_delivery: CCD
9
+ :early_morning_delivery: XPD
10
+ :fair_delivery: CCD
11
+ :hospital_delivery: HDC
12
+ :hotel_delivery: HOD
13
+ :inside_delivery: IDE
14
+ :liftgate_delivery: LGD
15
+ :mall_delivery: MDC
16
+ :military_site_delivery: MBD
17
+ :motel_delivery: HOD
18
+ :residential_delivery: RDE
19
+ :resort_delivery: HOD
20
+ :school_delivery: UND
21
+ :university_delivery: UND
22
+ :pickup:
23
+ :afterhours_pickup: XPU
24
+ :airport_pickup: ALP
25
+ :amusement_park_pickup: CCP
26
+ :appointment_pickup: APP
27
+ :convention_pickup: CCP
28
+ :early_morning_pickup: XPU
29
+ :fair_pickup: CCP
30
+ :hospital_pickup: HPC
31
+ :hotel_pickup: HOT
32
+ :inside_pickup: IPU
33
+ :liftgate_pickup: LGP
34
+ :mall_pickup: MPC
35
+ :military_site_pickup: MBP
36
+ :motel_pickup: HOT
37
+ :residential_pickup: RPU
38
+ :resort_pickup: HOP
39
+
40
+ # May be inaccurate
41
+ :unquotable:
42
+ - :athletic_facility_delivery
43
+ - :athletic_facility_pickup
44
+ - :cemetery_delivery
45
+ - :cemetery_pickup
46
+ - :church_delivery
47
+ - :church_pickup
48
+ - :construction_delivery
49
+ - :construction_pickup
50
+ - :dock_dropoff
51
+ - :dock_pickup
52
+ - :driver_assist
53
+ - :farm_delivery
54
+ - :farm_pickup
55
+ - :fitness_center_delivery
56
+ - :fitness_center_pickup
57
+ - :golf_course_delivery
58
+ - :golf_course_pickup
59
+ - :government_delivery
60
+ - :government_pickup
61
+ - :grocery_store_delivery
62
+ - :grocery_store_pickup
63
+ - :jobsite_delivery
64
+ - :jobsite_pickup
65
+ - :marina_delivery
66
+ - :marina_pickup
67
+ - :mine_site_delivery
68
+ - :mine_site_pickup
69
+ - :nursing_home_delivery
70
+ - :nursing_home_pickup
71
+ - :park_delivery
72
+ - :park_pickup
73
+ - :prison_delivery
74
+ - :prison_pickup
75
+ - :ranch_delivery
76
+ - :ranch_pickup
77
+ - :reservation_delivery
78
+ - :reservation_pickup
79
+ - :restaurant_delivery
80
+ - :restaurant_pickup
81
+ - :school_pickup
82
+ - :steel_mill_delivery
83
+ - :steel_mill_pickup
84
+ - :storage_facility_delivery
85
+ - :storage_facility_pickup
86
+ - :university_pickup
87
+ - :utility_site_delivery
88
+ - :utility_site_pickup
89
+ # May be inaccurate
90
+ :unserviceable:
91
+ - :brewery_delivery
92
+ - :brewery_pickup
93
+ - :customs_brokerage
94
+ - :flatbed_delivery
95
+ - :flatbed_pickup
96
+ - :grocery_warehouse_delivery
97
+ - :grocery_warehouse_pickup
98
+ - :guaranteed_delivery
99
+ - :guaranteed_delivery_am
100
+ - :guaranteed_delivery_pm
101
+ - :inspection_site_delivery
102
+ - :inspection_site_pickup
103
+ - :winery_delivery
104
+ - :winery_pickup
105
+ :api:
106
+ :domain: api.forwardair.com
107
+ :endpoints:
108
+ :rates: /ltlservices/v2/rest/waybills/quote/json
109
+ :methods:
110
+ :rates: :post
111
+ :use_ssl: true
112
+ :attributes:
113
+ :rates:
114
+ :with_excessive_length_fees: false
115
+ :services:
116
+ :types:
117
+ - :standard_ltl
@@ -0,0 +1,2 @@
1
+ :api:
2
+ :domain: app.jfjtransport.com
@@ -0,0 +1,22 @@
1
+ :accessorials:
2
+ :api:
3
+ :actions:
4
+ :rates: :create_pens_rate_quote
5
+ :domains:
6
+ :rates: www.peninsulatruck.com
7
+ :endpoints:
8
+ :rates: /webservices/pensrater.asmx?wsdl
9
+ :soap:
10
+ :namespaces:
11
+ :rates: http://peninsulatruck.com/WebServices # even over non-encrypted HTTP
12
+ :use_ssl:
13
+ :rates: true
14
+ :attributes:
15
+ :rates:
16
+ :with_excessive_length_fees: false
17
+ :services:
18
+ :mappable:
19
+ :next_day_ltl: next business day
20
+ :types:
21
+ - :next_day_ltl
22
+ - :standard
@@ -0,0 +1,135 @@
1
+ :accessorials:
2
+ :mappable:
3
+ :afterhours_delivery: NBD
4
+ :airport_delivery: AID
5
+ :airport_pickup: AIP
6
+ :amusement_park_delivery: AMD
7
+ :amusement_park_pickup: AMP
8
+ :appointment_delivery: NC
9
+ :church_delivery: CHD
10
+ :church_pickup: CHP
11
+ :construction_delivery: USD
12
+ :construction_pickup: USP
13
+ :farm_delivery: FAD
14
+ :farm_pickup: FAP
15
+ :golf_course_delivery: CCD
16
+ :golf_course_pickup: CCP
17
+ :government_delivery: GSD
18
+ :inspection_site_delivery: ID
19
+ :inspection_site_pickup: IP
20
+ :jobsite_delivery: USD
21
+ :jobsite_pickup: USP
22
+ :liftgate_delivery: LGD
23
+ :liftgate_pickup: LGP
24
+ :military_site_delivery: GSD
25
+ :mine_site_delivery: MSD
26
+ :nursing_home_delivery: NHD
27
+ :nursing_home_pickup: NHP
28
+ :prison_delivery: PSD
29
+ :reservation_delivery: IRD
30
+ :residential_delivery: RSD
31
+ :residential_pickup: RSP
32
+ :school_delivery: SHD
33
+ :school_pickup: SHP
34
+ :university_delivery: SHD
35
+ :university_pickup: SHP
36
+ :storage_facility_delivery: STD
37
+ :storage_facility_pickup: STP
38
+ :utility_site_delivery: USD
39
+ :utility_site_pickup: USP
40
+ # May be inaccurate
41
+ :unquotable:
42
+ - :athletic_facility_delivery
43
+ - :athletic_facility_pickup
44
+ - :cemetery_delivery
45
+ - :cemetery_pickup
46
+ - :dock_dropoff
47
+ - :dock_pickup
48
+ - :fitness_center_delivery
49
+ - :fitness_center_pickup
50
+ - :government_pickup
51
+ - :grocery_store_delivery
52
+ - :grocery_store_pickup
53
+ - :hospital_delivery
54
+ - :hospital_pickup
55
+ - :hotel_delivery
56
+ - :hotel_pickup
57
+ - :mall_delivery
58
+ - :mall_pickup
59
+ - :marina_delivery
60
+ - :marina_pickup
61
+ - :military_site_pickup
62
+ - :mine_site_pickup
63
+ - :motel_delivery
64
+ - :motel_pickup
65
+ - :park_delivery
66
+ - :park_pickup
67
+ - :prison_pickup
68
+ - :ranch_delivery
69
+ - :ranch_pickup
70
+ - :reservation_pickup
71
+ - :resort_delivery
72
+ - :resort_pickup
73
+ - :restaurant_delivery
74
+ - :restaurant_pickup
75
+ - :steel_mill_delivery
76
+ - :steel_mill_pickup
77
+ # May be inaccurate
78
+ :unserviceable:
79
+ - :appointment_pickup
80
+ - :brewery_delivery
81
+ - :brewery_pickup
82
+ - :convention_delivery
83
+ - :convention_pickup
84
+ - :customs_brokerage
85
+ - :driver_assist
86
+ - :early_morning_delivery
87
+ - :fair_delivery
88
+ - :fair_pickup
89
+ - :flatbed_delivery
90
+ - :flatbed_pickup
91
+ - :grocery_warehouse_delivery
92
+ - :grocery_warehouse_pickup
93
+ - :guaranteed_delivery_am
94
+ - :guaranteed_delivery_pm
95
+ - :guaranteed_delivery
96
+ - :inside_delivery
97
+ - :inside_pickup
98
+ - :winery_delivery
99
+ - :winery_pickup
100
+ :api:
101
+ :actions:
102
+ :rates: :rate_quote_by_account
103
+ :domains:
104
+ :bol: tools.rrts.com
105
+ :pod: tools.rrts.com
106
+ :rates: webservices.rrts.com
107
+ :track: webservices.rrts.com
108
+ :endpoints:
109
+ :bol: /LTLTrack/Home/ShowImage?proNumber=%%TRACKING_NUMBER%%&imageType=BOL
110
+ :pod: /LTLTrack/Home/ShowImage?proNumber=%%TRACKING_NUMBER%%&imageType=POD
111
+ :rates: /rating/ratequote.asmx?wsdl
112
+ :track: /TrackWebApi/api/values
113
+ :soap:
114
+ :namespaces:
115
+ :rates: https://webservices.rrts.com/ratequote/ # even over non-encrypted HTTP
116
+ :use_ssl:
117
+ :bol: false
118
+ :pod: false
119
+ :rates: false
120
+ :track: true
121
+ :attributes:
122
+ :rates:
123
+ :with_excessive_length_fees: false
124
+ :events:
125
+ :types:
126
+ :arrived_at_terminal: ARV
127
+ :delivered: DEL
128
+ :departed: DSP
129
+ :out_for_delivery: OFD
130
+ :picked_up: PU
131
+ :trailer_closed: CLO
132
+ :trailer_unloaded: UNL
133
+ :services:
134
+ :types:
135
+ - :standard
@@ -0,0 +1,117 @@
1
+ :accessorials:
2
+ :mappable:
3
+ :airport_delivery: LimitedAccessLocation
4
+ :airport_pickup: LimitedAccessLocationPU
5
+ :amusement_park_delivery: LimitedAccessLocation
6
+ :amusement_park_pickup: LimitedAccessLocationPU
7
+ :appointment_delivery: ArrivalNotice/Appointment
8
+ :cemetery_delivery: LimitedAccessLocation
9
+ :cemetery_pickup: LimitedAccessLocationPU
10
+ :church_delivery: LimitedAccessLocation
11
+ :church_pickup: LimitedAccessLocationPU
12
+ :construction_delivery: LimitedAccessLocation
13
+ :construction_pickup: LimitedAccessLocationPU
14
+ :convention_delivery: TradeShowDelivery
15
+ :convention_pickup: TradeShowPickup
16
+ :driver_assist: WhiteGlove
17
+ :fair_delivery: LimitedAccessLocation
18
+ :fair_pickup: LimitedAccessLocationPU
19
+ :government_delivery: LimitedAccessLocation
20
+ :government_pickup: LimitedAccessLocationPU
21
+ :inside_delivery: InsideDelivery
22
+ :inside_pickup: InsidePickup
23
+ :jobsite_delivery: LimitedAccessLocation
24
+ :jobsite_pickup: LimitedAccessLocationPU
25
+ :liftgate_delivery: LiftgateService
26
+ :liftgate_pickup: LiftgateServicePU
27
+ :marina_delivery: LimitedAccessLocation
28
+ :marina_pickup: LimitedAccessLocationPU
29
+ :military_site_delivery: LimitedAccessLocation
30
+ :military_site_pickup: LimitedAccessLocationPU
31
+ :mine_site_delivery: LimitedAccessLocation
32
+ :mine_site_pickup: LimitedAccessLocationPU
33
+ :prison_delivery: LimitedAccessLocation
34
+ :prison_pickup: LimitedAccessLocationPU
35
+ :residential_delivery: ResidentialDelivery
36
+ :residential_pickup: ResidentialPickup
37
+ :school_delivery: LimitedAccessLocation
38
+ :school_pickup: LimitedAccessLocationPU
39
+ :steel_mill_delivery: LimitedAccessLocation
40
+ :steel_mill_pickup: LimitedAccessLocationPU
41
+ :storage_facility_delivery: LimitedAccessLocation
42
+ :storage_facility_pickup: LimitedAccessLocationPU
43
+ :university_delivery: LimitedAccessLocation
44
+ :university_pickup: LimitedAccessLocationPU
45
+ :utility_site_delivery: LimitedAccessLocation
46
+ :utility_site_pickup: LimitedAccessLocationPU
47
+ # May be inaccurate
48
+ :unquotable:
49
+ - :athletic_facility_delivery
50
+ - :athletic_facility_pickup
51
+ - :brewery_delivery
52
+ - :brewery_pickup
53
+ - :dock_dropoff
54
+ - :dock_pickup
55
+ - :farm_delivery
56
+ - :farm_pickup
57
+ - :fitness_center_delivery
58
+ - :fitness_center_pickup
59
+ - :golf_course_delivery
60
+ - :golf_course_pickup
61
+ - :grocery_store_delivery
62
+ - :grocery_store_pickup
63
+ - :grocery_warehouse_delivery
64
+ - :grocery_warehouse_pickup
65
+ - :hospital_delivery
66
+ - :hospital_pickup
67
+ - :hotel_delivery
68
+ - :hotel_pickup
69
+ - :inspection_site_delivery
70
+ - :inspection_site_pickup
71
+ - :mall_delivery
72
+ - :mall_pickup
73
+ - :motel_delivery
74
+ - :motel_pickup
75
+ - :nursing_home_delivery
76
+ - :nursing_home_pickup
77
+ - :park_delivery
78
+ - :park_pickup
79
+ - :ranch_delivery
80
+ - :ranch_pickup
81
+ - :reservation_delivery
82
+ - :reservation_pickup
83
+ - :resort_delivery
84
+ - :resort_pickup
85
+ - :restaurant_delivery
86
+ - :restaurant_pickup
87
+ - :winery_delivery
88
+ - :winery_pickup
89
+ # May be inaccurate
90
+ :unserviceable:
91
+ - :afterhours_delivery
92
+ - :afterhours_pickup
93
+ - :appointment_pickup
94
+ - :customs_brokerage
95
+ - :early_morning_delivery
96
+ - :early_morning_pickup
97
+ - :flatbed_delivery
98
+ - :flatbed_pickup
99
+ - :guaranteed_delivery
100
+ - :guaranteed_delivery_am
101
+ - :guaranteed_delivery_pm
102
+ :api:
103
+ :actions:
104
+ :rates: :create
105
+ :domain: www.saiasecure.com
106
+ :endpoints:
107
+ :rates: /webservice/ratequote/soap.asmx?wsdl
108
+ :use_ssl: true
109
+ :attributes:
110
+ :rates:
111
+ :with_excessive_length_fees: true
112
+ :services:
113
+ :types:
114
+ - :standard
115
+ - :guaranteed_delivery
116
+ - :guaranteed_delivery_am
117
+ - :guaranteed_delivery_pm