Displaying 2 results from an estimated 2 matches for "ups_account".
Did you mean:
ipt_account
2006 Jun 25
1
UPS quotes via shipping gem
greetings,
has anyone had luck with the UPS portion of the shipping gem?
i get nil''s returned for price, wondering what i''m missing. 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...
2005 Apr 27
1
Ruby Shipping
...number every
time in your implementation code. To set default values, setup a file
called .shipping.yml in the home directory of the user who will be
using this library. An example file would be:
fedex_url: https://url/to/fedex/api
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...