Class: FreightKit::WRDS
- Inherits:
-
Carrier
- Object
- Carrier
- FreightKit::WRDS
- Defined in:
- lib/freight_kit/carriers/wrds.rb
Constant Summary collapse
- REACTIVE_FREIGHT_CARRIER =
true
Class Attribute Summary collapse
-
.name ⇒ Object
readonly
Returns the value of attribute name.
-
.scac ⇒ Object
readonly
Returns the value of attribute scac.
Class Method Summary collapse
Instance Method Summary collapse
-
#find_tracking_info(tracking_number) ⇒ Object
Tracking.
-
#pod(tracking_number) ⇒ Object
Documents.
Class Attribute Details
.name ⇒ Object (readonly)
Returns the value of attribute name.
18 19 20 |
# File 'lib/freight_kit/carriers/wrds.rb', line 18 def name @name end |
.scac ⇒ Object (readonly)
Returns the value of attribute scac.
18 19 20 |
# File 'lib/freight_kit/carriers/wrds.rb', line 18 def scac @scac end |
Class Method Details
.required_credential_types ⇒ Object
6 7 8 |
# File 'lib/freight_kit/carriers/wrds.rb', line 6 def required_credential_types %i[selenoid website] end |
.requirements ⇒ Object
10 11 12 |
# File 'lib/freight_kit/carriers/wrds.rb', line 10 def requirements %i[credentials] end |
Instance Method Details
#find_tracking_info(tracking_number) ⇒ Object
Tracking
31 32 33 |
# File 'lib/freight_kit/carriers/wrds.rb', line 31 def find_tracking_info(tracking_number) parse_tracking_response(tracking_number) end |
#pod(tracking_number) ⇒ Object
Documents
24 25 26 |
# File 'lib/freight_kit/carriers/wrds.rb', line 24 def pod(tracking_number) parse_pod_response(tracking_number) end |