Sha256: adeb38fa35f7547f26ee238f96403900fe1f55c4b0e66ce26040e5ae8e23104c

Contents?: true

Size: 305 Bytes

Versions: 1

Compression:

Stored size: 305 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)
      Hashie::Mash.new get("/#{username}.json")
    end
  
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
twitterland-0.4.6 lib/twitterland/follow_cost.rb