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

Instance Method Details

#created_atTime

Time when the object was created on Twitter

Returns:

  • (Time)


9
10
11
# File 'lib/twitter/creatable.rb', line 9

def created_at
  @created_at ||= Time.parse(@attrs[:created_at]) if created?
end