Object
# File lib/tw/client/stream.rb, line 4 def initialize(user=nil) user = Tw::Auth.get_or_regist_user user UserStream.configure do |config| config.consumer_key = Conf['consumer_key'] config.consumer_secret = Conf['consumer_secret'] config.oauth_token = user['access_token'] config.oauth_token_secret = user['access_secret'] end @client = UserStream::Client.new end
Generated with the Darkfish Rdoc Generator 2.