Class: TweetStream::Status
Overview
A simple Hash wrapper that gives you method-based access to the properties of a Twitter status.
Instance Method Summary collapse
-
#initialize(hash) ⇒ Status
constructor
A new instance of Status.
Methods inherited from Hash
Constructor Details
#initialize(hash) ⇒ Status
Returns a new instance of Status.
4 5 6 7 |
# File 'lib/tweetstream/status.rb', line 4 def initialize(hash) super self[:user] = TweetStream::User.new(self[:user]) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class TweetStream::Hash