philnash / bitly

🗜 A Ruby wrapper for the bit.ly API
https://rubygems.org/gems/bitly
MIT License
451 stars 139 forks source link

jmp_url doesn't work with api version 3 #42

Closed mehulkar closed 4 years ago

mehulkar commented 11 years ago
client = Bitly.client
client.shorten("http://google.com").jmp_url

I'm getting a no method error.

NoMethodError: undefined method 'shorten_url' for #<Bitly::V3::Url:0x007fe7e9a1dd20>

client.shorten("http://google.com").short_url works as expected and generates a bit.ly url.