Skip to content

Commit

Permalink
Add name to shipwire class
Browse files Browse the repository at this point in the history
  • Loading branch information
Cody Fauser committed Mar 26, 2009
1 parent 92d9125 commit e270b17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
3 changes: 3 additions & 0 deletions lib/active_shipping/shipping/carriers/shipwire.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit e270b17

Please sign in to comment.