Sha256: 030863290773827fe310113c4544a6ba6b515708fcff22b3c1f8792ff5d3981d

Contents?: true

Size: 949 Bytes

Versions: 4

Compression:

Stored size: 949 Bytes

Contents

require 'forwardable'
require 'rubygems'

gem 'oauth', '~> 0.3.4'
require 'oauth'

gem 'mash', '0.0.3'
require 'mash'

gem 'httparty', '0.4.3'
require 'httparty'

module Twitterland
  class TwitterError < StandardError
    attr_reader :data
    
    def initialize(data)
      @data = data
      super
    end
  end
  
  class RateLimitExceeded < TwitterError; end
  class Unauthorized      < TwitterError; end
  class General           < TwitterError; end
  
  class Unavailable   < StandardError; end
  class InformTwitter < StandardError; end
  class NotFound      < StandardError; end
  
end

directory = File.expand_path(File.dirname(__FILE__))


require File.join(directory, 'twitterland', 'follow_cost')
require File.join(directory, 'twitterland', 'twitter_counter')
require File.join(directory, 'twitterland', 'twinfluence')
require File.join(directory, 'twitterland', 'mrtweet')
require File.join(directory, 'twitterland', 'twitter_grader')

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
squeejee-twitterland-0.0.1 lib/twitterland.rb
squeejee-twitterland-0.0.2 lib/twitterland.rb
twitterland-0.0.1 lib/twitterland.rb
twitterland-0.0.2 lib/twitterland.rb