Module: UPS

Defined in:
lib/ups.rb,
lib/ups/data.rb,
lib/ups/version.rb,
lib/ups/services.rb,
lib/ups/packaging.rb,
lib/ups/connection.rb,
lib/ups/exceptions.rb,
lib/ups/data/us_states.rb,
lib/ups/data/ie_counties.rb,
lib/ups/parsers/parser_base.rb,
lib/ups/data/canadian_states.rb,
lib/ups/parsers/rates_parser.rb,
lib/ups/builders/builder_base.rb,
lib/ups/builders/rate_builder.rb,
lib/ups/data/ie_county_prefixes.rb,
lib/ups/builders/address_builder.rb,
lib/ups/builders/shipper_builder.rb,
lib/ups/parsers/ship_accept_parser.rb,
lib/ups/parsers/ship_confirm_parser.rb,
lib/ups/builders/ship_accept_builder.rb,
lib/ups/builders/organisation_builder.rb,
lib/ups/builders/ship_confirm_builder.rb

Defined Under Namespace

Modules: Builders, Data, Exceptions, Parsers, Version Classes: Connection

Constant Summary collapse

SERVICES =
{
  '01' => 'Next Day Air',
  '02' => '2nd Day Air',
  '03' => 'Ground',
  '07' => 'Express',
  '08' => 'Expedited',
  '11' => 'UPS Standard',
  '12' => '3 Day Select',
  '13' => 'Next Day Air Saver',
  '14' => 'Next Day Air Early AM',
  '54' => 'Express Plus',
  '59' => '2nd Day Air A.M.',
  '65' => 'UPS Saver',
  '82' => 'UPS Today Standard',
  '83' => 'UPS Today Dedicated Courier',
  '84' => 'UPS Today Intercity',
  '85' => 'UPS Today Express',
  '86' => 'UPS Today Express Saver'
}.freeze
PACKAGING =
{
  '01' => 'UPS Letter',
  '02' => 'Customer Supplied Package',
  '03' => 'Tube',
  '04' => 'Pak',
  '21' => 'UPS Express Box',
  '24' => 'UPS 25kg box',
  '25' => 'UPS 10kg box',
  '30' => 'Pallet',
  '2a' => 'Small Express Box',
  '2b' => 'Medium Express Box',
  '2c' => 'Large Express Box',
  '56' => 'Flats',
  '57' => 'Parcels',
  '58' => 'BPM',
  '59' => 'First Class',
  '60' => 'Priority',
  '61' => 'Machinables',
  '62' => 'Irregulars',
  '63' => 'Parcel Post',
  '64' => 'BPM Parcel',
  '65' => 'Media Mail',
  '66' => 'BPM Flat',
  '67' => 'Standard Flat'
}.freeze