class BitlyExporter::User
Public Instance Methods
info(options={})
click to toggle source
# File lib/bitly_exporter/user.rb, line 15 def info(options={}) make_request("/user/info") end
link_history(options={})
click to toggle source
# File lib/bitly_exporter/user.rb, line 3 def link_history(options={}) result = make_request("/user/link_history", options) result_count = result["data"]["result_count"] result_links = result["data"]["link_history"] links = result_links.collect do |link| Link.new(link) end return links, result_count end