Class: Chirpstream::Tweet
- Inherits:
-
TwitterObject
- Object
- TwitterObject
- Chirpstream::Tweet
- Defined in:
- lib/chirpstream/tweet.rb
Constant Summary collapse
- ATTRS =
[:coordinates, :favorited, :created_at, :truncated, :contributors, :text, :id, :geo, :in_reply_to_user_id, :place, :source, :in_reply_to_screen_name, :in_reply_to_status_id, :user]
Constants inherited from TwitterObject
TwitterObject::SINGLE_TWEET_URL, TwitterObject::SINGLE_USER_URL
Instance Attribute Summary
Attributes inherited from TwitterObject
Instance Method Summary collapse
Methods inherited from TwitterObject
attrs, #from_json, #get_tweet_data, #get_user_data, #initialize, #load_all, #load_tweet_data, #load_user_data, tweet_writer, user_writer
Constructor Details
This class inherits a constructor from TwitterObject
Instance Method Details
#loaded? ⇒ Boolean
13 14 15 |
# File 'lib/chirpstream/tweet.rb', line 13 def loaded? !text.nil? end |
#tweet_loadable_id ⇒ Object
9 10 11 |
# File 'lib/chirpstream/tweet.rb', line 9 def tweet_loadable_id id end |