Sha256: 1b2b89df38d736cf07a84f5f7eb0838f9f4bcf69148ad05e1a77d480677ebd6b
Contents?: true
Size: 427 Bytes
Versions: 7
Compression:
Stored size: 427 Bytes
Contents
module Twitterland class Thumbfight include HTTParty base_uri 'thumbfight.com' format :json # Get Thumbfight analysis for 1 or 2 search terms # # Twitterland::Thumbfight.fight(args) def self.fight(*args) params = {} params[:challenger1] = args[0] if args[0] params[:challenger2] = args[1] if args[1] Mash.new get("/fight.json", :query => params) end end end
Version data entries
7 entries across 7 versions & 1 rubygems