Class: FreightKit::CCYQ
- Inherits:
-
Carrier
- Object
- Carrier
- FreightKit::CCYQ
- Includes:
- Documentable, Pickupable, Rateable, Trackable
- Defined in:
- lib/freight_kit/carriers/ccyq.rb
Constant Summary collapse
- REACTIVE_FREIGHT_CARRIER =
true- JSON_HEADERS =
{ Accept: 'application/json', charset: 'utf-8', 'Content-Type' => 'application/json' }.freeze
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
- .minimum_length_for_overlength_fees ⇒ Object
- .overlength_fees_require_tariff? ⇒ Boolean
- .required_credential_types ⇒ Object
- .requirements ⇒ Object
Methods included from Pickupable
Methods included from Documentable
Methods included from Trackable
Methods included from Rateable
Class Attribute Details
.name ⇒ Object (readonly)
Returns the value of attribute name.
26 27 28 |
# File 'lib/freight_kit/carriers/ccyq.rb', line 26 def name @name end |
.scac ⇒ Object (readonly)
Returns the value of attribute scac.
26 27 28 |
# File 'lib/freight_kit/carriers/ccyq.rb', line 26 def scac @scac end |
Class Method Details
.minimum_length_for_overlength_fees ⇒ Object
6 7 8 |
# File 'lib/freight_kit/carriers/ccyq.rb', line 6 def minimum_length_for_overlength_fees Measured::Length.new(6, :feet) end |
.overlength_fees_require_tariff? ⇒ Boolean
10 11 12 |
# File 'lib/freight_kit/carriers/ccyq.rb', line 10 def overlength_fees_require_tariff? false end |
.required_credential_types ⇒ Object
14 15 16 |
# File 'lib/freight_kit/carriers/ccyq.rb', line 14 def required_credential_types %i[api_key api_proxy] end |
.requirements ⇒ Object
18 19 20 |
# File 'lib/freight_kit/carriers/ccyq.rb', line 18 def requirements %i[credentials] end |