Module: Twitter::Creatable
- Included in:
- Action::Follow, Action::ListMemberAdded, Action::Mention, Action::Tweet, DirectMessage, List, SavedSearch, Tweet, 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]) if created? end |