Displaying 3 results from an estimated 3 matches for "ups_us".
Did you mean:
us_us
2006 Jun 25
1
UPS quotes via shipping gem
...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 appreciated. thanks.
--
Posted via http://www.rub...
2005 Apr 27
1
Ruby Shipping
...tation 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
ups.valid_address? => fa...
2016 Aug 05
1
NUT UPS Slave Not Shutting Down
...m able to shutdown the master after UPS is on BATTERY ( POWER BLACKOUT)
.However I'm trying to shutdown the other SLAVE MACHINES BEFORE MASTER.
But at the remote side ( Slaves ) shutdown after UPS blackout does not
happen.
My configuration in Master are
/usr/etc/upsd.users
[ups_user]
password = admin
instcmds = all
allowfrom = localhost
actions = SET
upsmon master
[ups_slave]
password = admin
instcmds = all
actions = SET
upsmon slave
/usr/e...