Skip to content

Instantly share code, notes, and snippets.

@dpzmick
Created March 10, 2013 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dpzmick/5130297 to your computer and use it in GitHub Desktop.
Save dpzmick/5130297 to your computer and use it in GitHub Desktop.
[8] pry(main)> tweet.attrs
=> {:created_at=>2010-10-16 12:07:46 -0500,
:id=>27558893223,
:text=>"Ruby is the best programming language for hiding the ugly bits.",
:source=>"<a href=\"http://www.echofon.com/\" rel=\"nofollow\">Echofon</a>",
:truncated=>false,
:in_reply_to_status_id=>nil,
:in_reply_to_user_id=>nil,
:in_reply_to_screen_name=>nil,
:user=>
{:id=>7505382,
:name=>"Erik Michaels-Ober",
:screen_name=>"sferik",
:location=>"San Francisco",
:description=>"Write code. Not too much. Mostly Ruby.",
:url=>"https://github.com/sferik",
:protected=>false,
:followers_count=>2898,
:friends_count=>205,
:listed_count=>158,
:created_at=>2007-07-16 07:59:01 -0500,
:favourites_count=>5583,
:utc_offset=>-28800,
:time_zone=>"Pacific Time (US & Canada)",
:geo_enabled=>true,
:verified=>false,
:statuses_count=>10621,
:lang=>"en",
:contributors_enabled=>false,
:is_translator=>false,
:profile_background_color=>"000000",
:profile_background_image_url=>
"http://a0.twimg.com/profile_background_images/677717672/bb0b3653dcf0644e344823e0a2eb3382.png",
:profile_background_image_url_https=>
"https://si0.twimg.com/profile_background_images/677717672/bb0b3653dcf0644e344823e0a2eb3382.png",
:profile_background_tile=>false,
:profile_image_url=>
"http://si0.twimg.com/profile_images/1759857427/image1326743606_normal.png",
:profile_image_url_https=>
"https://si0.twimg.com/profile_images/1759857427/image1326743606_normal.png",
:profile_banner_url=>
"http://si0.twimg.com/profile_banners/7505382/1349499693/web",
:profile_link_color=>"0084B4",
:profile_sidebar_border_color=>"000000",
:profile_sidebar_fill_color=>"DDEEF6",
:profile_text_color=>"333333",
:profile_use_background_image=>true,
:default_profile=>false,
:default_profile_image=>false,
:following=>false,
:follow_request_sent=>false,
:notifications=>false},
:geo=>nil,
:place=>nil,
:retweet_count=>2,
:favorited=>false,
:retweeted=>false,
:lang=>"en"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment