Class: TweetStream::User

Inherits:
Hash
  • Object
show all
Defined in:
lib/tweetstream/user.rb

Overview

A simple Hash wrapper that gives you method-based access to user properties returned by the streamer.

Instance Method Summary collapse

Methods inherited from Hash

#initialize, #method_missing

Constructor Details

This class inherits a constructor from TweetStream::Hash

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class TweetStream::Hash

Instance Method Details

#idObject



4
5
6
# File 'lib/tweetstream/user.rb', line 4

def id
  self[:id] || super
end