diff --git a/lib/twitter/tweet.rb b/lib/twitter/tweet.rb index b742f1db8..3843249a4 100644 --- a/lib/twitter/tweet.rb +++ b/lib/twitter/tweet.rb @@ -10,9 +10,8 @@ class Tweet < Twitter::Identity include Twitter::Exceptable attr_reader :favorited, :favoriters, :from_user_id, :from_user_name, :in_reply_to_screen_name, :in_reply_to_attrs_id, :in_reply_to_status_id, - :in_reply_to_user_id, :iso_language_code, :repliers, :retweeted, - :retweeters, :source, :text, :to_user, :to_user_id, :to_user_name, - :truncated + :in_reply_to_user_id, :lang, :repliers, :retweeted, :retweeters, :source, + :text, :to_user, :to_user_id, :to_user_name, :truncated alias in_reply_to_tweet_id in_reply_to_status_id alias favourited favorited alias favourited? favorited? @@ -40,6 +39,10 @@ def from_user @attrs[:from_user] || user && user.screen_name end + def filter_level + @attrs[:filter_level] || "none" + end + # @return [String] # @note May be > 140 characters. def full_text