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
I get this error when I try to track a package. Seems like the library is trying to use an Array as a Hash or something like that.
?> fedex = Shippinglogic::FedEx.new(key, password, account, meter)
=> #nil, :production_url=>"https://gateway.fedex.com:443/xml", :test_url=>"https://gatewaybeta.fedex.com:443/xml"}, @meter="">
>> tracking_details = fedex.track(:tracking_number => "000....000")
TypeError: Symbol as array index
from /Users/bencarpenter/.gem/ruby/1.8/gems/shippinglogic-1.1.4/lib/shippinglogic/fedex/track.rb:89:in `[]'
from /Users/bencarpenter/.gem/ruby/1.8/gems/shippinglogic-1.1.4/lib/shippinglogic/fedex/track.rb:89:in `initialize'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `collect'
from /Users/bencarpenter/.gem/ruby/1.8/gems/shippinglogic-1.1.4/lib/shippinglogic/fedex/track.rb:87:in `each'
from /Users/bencarpenter/.gem/ruby/1.8/gems/shippinglogic-1.1.4/lib/shippinglogic/fedex/track.rb:87:in `collect'
from /Users/bencarpenter/.gem/ruby/1.8/gems/shippinglogic-1.1.4/lib/shippinglogic/fedex/track.rb:87:in `initialize'
from /Users/bencarpenter/.gem/ruby/1.8/gems/shippinglogic-1.1.4/lib/shippinglogic/fedex/track.rb:112:in `new'
from /Users/bencarpenter/.gem/ruby/1.8/gems/shippinglogic-1.1.4/lib/shippinglogic/fedex/track.rb:112:in `target'
from /Users/bencarpenter/.gem/ruby/1.8/gems/shippinglogic-1.1.4/lib/shippinglogic/fedex/proxy.rb:17:in `method_missing'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb.rb:302:in `output_value'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb.rb:151:in `eval_input'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb.rb:263:in `signal_status'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb.rb:147:in `eval_input'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb.rb:146:in `eval_input'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb.rb:70:in `start'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb.rb:69:in `catch'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/irb.rb:69:in `start'
from /usr/bin/irb:13
The text was updated successfully, but these errors were encountered:
I get this error when I try to track a package. Seems like the library is trying to use an Array as a Hash or something like that.
The text was updated successfully, but these errors were encountered: