Sha256: b0e3093240d2366b2c5f0685191fb6519e0ec05fe5037ac263e513165b8c9473

Contents?: true

Size: 208 Bytes

Versions: 2

Compression:

Stored size: 208 Bytes

Contents

module Virility
	class Twitter < Context
	
		def get_virility
			@response = self.class.get("http://urls.api.twitter.com/1/urls/count.json?url=#{@url}")
			@counts = @response.parsed_response
		end
	
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
virility-0.0.2 lib/virility/strategies/twitter.rb
virility-0.0.1 lib/virility/strategies/twitter.rb