philnash/bitly — Issue #12: query methods of v3 Client are not side-effect free
Author: azanar
Created: 2011-11-03 21:39:23+00:00
State: open

In particular, if the input to these methods is an array, the array will be empty upon return.

Example code:

Bitly.use_api_version_3
MyBitly = Bitly.new("myuser", "myaccesstoken")
urls = [some, array, of bitlys]
clicks = MyBitly.clicks(urls)
puts "#{urls.inspect}\n"

Expected output: the array of bitlys
Actual output: an array the same size full of nils