Class: FreightKit::TheGreatInformationFactory
- Includes:
- Pickupable, Rateable, Trackable
- Defined in:
- lib/freight_kit/platforms/the_great_information_factory.rb
Constant Summary collapse
- REACTIVE_FREIGHT_PLATFORM =
true
Constants inherited from Carrier
Carrier::BOL_NUMBER_TRACKING_URL_TEMPLATE, Carrier::NUMBERS, Carrier::ORDER_NUMBER_TRACKING_URL_TEMPLATE, Carrier::PICKUP_NUMBER_TRACKING_URL_TEMPLATE, Carrier::PO_NUMBER_TRACKING_URL_TEMPLATE, Carrier::TRACKING_NUMBER_TRACKING_URL_TEMPLATE, Carrier::VALID_BOL_NUMBER_REGEX, Carrier::VALID_ORDER_NUMBER_REGEX, Carrier::VALID_PICKUP_NUMBER_REGEX, Carrier::VALID_PO_NUMBER_REGEX, Carrier::VALID_TRACKING_NUMBER_REGEX
Instance Attribute Summary
Attributes inherited from Carrier
#conf, #credentials, #customer_location, #last_request, #rates_with_excessive_length_fees, #tariff, #tmpdir
Class Method Summary collapse
- .overlength_fees_require_tariff? ⇒ Boolean
- .required_credential_types ⇒ Object
- .requirements ⇒ Object
Methods included from Pickupable
Methods included from Trackable
Methods included from Rateable
Methods inherited from Platform
Methods inherited from Carrier
#available_services, #bol, bol_requires_tracking_number?, #cancel_shipment, #create_pickup, default_location, #fetch_credential, #find_estimate, #find_locations, #find_rates, find_rates_with_declared_value?, #find_tracking_info, #find_tracking_number_from_pickup_number, implemented?, #initialize, maximum_address_field_length, maximum_height, maximum_weight, minimum_length_for_overlength_fees, #overlength_fee, pickup_number_is_tracking_number?, #pod, #scanned_bol, #serviceable_accessorials?, tracking_url_template, #valid_credentials?, valid_number_regex, #valid_tracking_number?, #validate_packages
Constructor Details
This class inherits a constructor from FreightKit::Platform
Class Method Details
.overlength_fees_require_tariff? ⇒ Boolean
14 15 16 |
# File 'lib/freight_kit/platforms/the_great_information_factory.rb', line 14 def overlength_fees_require_tariff? true end |
.required_credential_types ⇒ Object
6 7 8 |
# File 'lib/freight_kit/platforms/the_great_information_factory.rb', line 6 def required_credential_types %i[api] end |
.requirements ⇒ Object
10 11 12 |
# File 'lib/freight_kit/platforms/the_great_information_factory.rb', line 10 def requirements %i[credentials tariff] end |