Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/beingben/bitly into being…
Browse files Browse the repository at this point in the history
…ben-master
  • Loading branch information
philnash committed Apr 1, 2013
2 parents 27467cd + bf4a175 commit b7b0ba1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/bitly/v3/url.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ def clicks_by_day(opts={})
@clicks_by_day
end

# QR code is automatically created and can be incorporated
# into mobile applications.
def qrcode_url
short_url + ".qrcode" unless short_url.blank?
end

private

def update_clicks_data
Expand All @@ -140,4 +146,4 @@ def update_countries
end
end
end
end
end

0 comments on commit b7b0ba1

Please sign in to comment.