You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ArgumentError: wrong number of arguments (1 for 2)
from {...}/shippinglogic/ups/error.rb:38:in `initialize'
from {...}/shippinglogic/ups/error.rb:38:in `initialize'
from {...}/shippinglogic/ups/response.rb:17:in `new'
from {...}/shippinglogic/ups/response.rb:17:in `request'
from {...}/shippinglogic/ups/ship_confirm.rb:70:in `target'
from {...}/shippinglogic/proxy.rb:20:in `method_missing'
from {...}/shippinglogic/ups.rb:74:in `ship'
from (irb):3
1.9.2
ArgumentError: wrong number of arguments (1 for 2)
from {...}shippinglogic/error.rb:5:in `initialize'
from {...}shippinglogic/ups/error.rb:38:in `initialize'
from {...}shippinglogic/ups/response.rb:17:in `new'
from {...}shippinglogic/ups/response.rb:17:in `request'
from {...}shippinglogic/ups/ship_confirm.rb:70:in `target'
from {...}shippinglogic/proxy.rb:20:in `method_missing'
from {...}shippinglogic/ups.rb:74:in `ship'
from (irb):3
The text was updated successfully, but these errors were encountered:
I get an ArgumentError: wrong number of arguments (1 for 2) when creating a ups.ship object as in the code snippet below.
I get a different trace depending on which ruby version I am using but always the same error.
Thanks in advance for any help,
david
This is what I wrote in irb -- I am not sure I am writing the service_type the correct way or if I am missing some required parameters.
1.8.7 (ree and standard built into mac os 10.6)
1.9.2
The text was updated successfully, but these errors were encountered: