Module: Twitter::Creatable
- Included in:
- Action, DirectMessage, SavedSearch, Status, User
- Defined in:
- lib/twitter/creatable.rb
Instance Method Summary collapse
-
#created_at ⇒ Time
Time when the object was created on Twitter.
Instance Method Details
#created_at ⇒ Time
Time when the object was created on Twitter
9 10 11 |
# File 'lib/twitter/creatable.rb', line 9 def created_at @created_at ||= Time.parse(@attrs['created_at']) unless @attrs['created_at'].nil? end |