Sha256: 5660a8a6be6a06e9495baf0b502707018c0fe7cfe94545b69fb21c7f78bdb0fc
Contents?: true
Size: 309 Bytes
Versions: 2
Compression:
Stored size: 309 Bytes
Contents
module Virility class StumbleUpon < Context parser( Proc.new do |body, format| MultiJson.decode(body) end ) def get_virility @response = self.class.get("http://www.stumbleupon.com/services/1.01/badge.getinfo?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/stumble_upon.rb |
virility-0.0.1 | lib/virility/strategies/stumble_upon.rb |