From 9f0ec3ad83f92eec3f35ae9803298426a370cd58 Mon Sep 17 00:00:00 2001 From: izwick-schachter Date: Sat, 20 Jan 2018 12:38:34 -0500 Subject: [PATCH] Added Comment#edited --- lib/se/api/types/comment.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/se/api/types/comment.rb b/lib/se/api/types/comment.rb index 9624c75..0651a14 100644 --- a/lib/se/api/types/comment.rb +++ b/lib/se/api/types/comment.rb @@ -11,6 +11,7 @@ def initialize(item_json) @body = @json["body"] @body_markdown = @json["body_markdown"] @link = @json["link"] + @edited = (@json["edited"] == "true") @post_id = @json["post_id"].to_i @score = @json["score"].to_i @type = @json["post_type"]