diff --git a/CHANGELOG b/CHANGELOG index a8b023097..9a1a64aa3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,4 @@ +* Add name to Shipwire class [cody] * Improve FedEx handling of some error conditions [cody] * Add support for validating credentials to Shipwire [cody] * Add support for ssl_get to PostsData. Update Carriers to use PostsData module. Turn on retry safety for carriers [cody] diff --git a/lib/active_shipping/shipping/carriers/shipwire.rb b/lib/active_shipping/shipping/carriers/shipwire.rb index 8b3816415..658cc1bd5 100644 --- a/lib/active_shipping/shipping/carriers/shipwire.rb +++ b/lib/active_shipping/shipping/carriers/shipwire.rb @@ -6,6 +6,9 @@ module Shipping class Shipwire < Carrier self.retry_safe = true + cattr_reader :name + @@name = "Shipwire" + URL = 'https://www.shipwire.com/exec/RateServices.php' SCHEMA_URL = 'http://www.shipwire.com/exec/download/RateRequest.dtd' WAREHOUSES = { 'CHI' => 'Chicago',