Sha256: 591fbbcc2e2fc89e5b27265525d3218486475c834239ee5b647bca20e862507d

Contents?: true

Size: 297 Bytes

Versions: 11

Compression:

Stored size: 297 Bytes

Contents

module Twitterland
  class FollowCost
    include HTTParty
    base_uri 'followcost.com'
    format :json
  
    # Get follow cost for specified user
    #
    #   Twitterland::FollowCost.show('bradleyjoyce')
    def self.show(username)
      Mash.new get("/#{username}.json")
    end
  
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
squeejee-twitterland-0.2.0 lib/twitterland/follow_cost.rb
squeejee-twitterland-0.2.1 lib/twitterland/follow_cost.rb
twitterland-0.4.5 lib/twitterland/follow_cost.rb
twitterland-0.4.4 lib/twitterland/follow_cost.rb
twitterland-0.4.3 lib/twitterland/follow_cost.rb
twitterland-0.4.2 lib/twitterland/follow_cost.rb
twitterland-0.4.1 lib/twitterland/follow_cost.rb
twitterland-0.4.0 lib/twitterland/follow_cost.rb
twitterland-0.3.0 lib/twitterland/follow_cost.rb
twitterland-0.2.0 lib/twitterland/follow_cost.rb
twitterland-0.2.1 lib/twitterland/follow_cost.rb