intridea/tweetstream — pull request #71 by sferik (2012-05-02 15:39:42+00:00)
Title: Replace custom objects with objects from the `twitter` gem

There's no need for us to reinvent the wheel by defining our own `TweetStream::DirectMessage`, `TweetStream::Hash`, `TweetStream::Status`, and `TweetStream::User` objects.

These objects are already defined in the `twitter` gem and are superior to our custom objects in the following ways:

1. Object equivalence (`#==` returns true if `#id`s are the same).
2. The `#created_at` method returns a `Date` instead of a `String`.
3. Allows boolean methods to be called with a question mark (e.g. `User#protected?`)

Additionally, any new features that are added to objects in the `twitter` gem (e.g. identity map) we will get "for free" by using these objects.