Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

query methods of v3 Client are not side-effect free #12

Closed
azanar opened this Issue · 1 comment

2 participants

@azanar

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

@azanar azanar referenced this issue from a commit in Wetpaint/bitly
Ed Carrel Fixing issue #12 1d90810
@philnash
Owner

Pulled fix in

@philnash philnash closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.