Displaying 2 results from an estimated 2 matches for "sender_zip".
2006 Jun 25
1
UPS quotes via shipping gem
.... to avoid all 
confusion i included the account/login in the instantiation (sub with 
real values).
@ups = Shipping::UPS.new :ups_account => ''7B4F74E3075AEEFF'', :ups_user 
=> ''username'', :ups_password => ''password'', :zip => 92064, :sender_zip 
=> 19122, :weight => 2
the fake UPS account number looks nuts, mine is only 6 character long.
any insight would be much appreciated. thanks.
-- 
Posted via http://www.ruby-forum.com/.
2005 Apr 27
1
Ruby Shipping
...fedex_account: 1234556
     fedex_meter: 387878
     ups_account: 7B4F74E3075AEEFF
     ups_user: username
     ups_password: password
You can set as many default values as you would like in this file.
     require ''shipping''
     ups = Shipping::UPS.new :zip => 97202, :sender_zip => 10001, 
:weight => 2
     ups.price => 8.77
     ups.valid_address? => false
     ups.city = "Portland"
     ups.valid_address? => true
Alternately, you can instantiate the base class and then see both UPS 
and FedEx information.
     ship = Shipping::Base.new :zip =&...