# File lib/rubytter.rb, line 211 def search_result_to_hash(json) { 'id' => json['id'], 'text' => json['text'], 'source' => json['source'], 'created_at' => json['created_at'], 'in_reply_to_user_id' => json['to_user_id'], 'in_reply_to_screen_name' => json['to_user'], 'in_reply_to_status_id' => nil, 'user' => { 'id' => json['from_user_id'], 'name' => nil, 'screen_name' => json['from_user'], 'profile_image_url' => json['profile_image_url'] } } end