Sha256: 4a451610f94d3c126c64818253e4b1428576045fd2a0cf37e19131b1aa4de69f
Contents?: true
Size: 257 Bytes
Versions: 1
Compression:
Stored size: 257 Bytes
Contents
module Popularity class Twitter < Crawler stats :tweets def tweets response_json['count'].to_i if has_response? end protected def request_url "https://cdn.api.twitter.com/1/urls/count.json?url=#{@url}" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
popularity-0.2.1 | lib/popularity/networks/twitter.rb |