From 7c66f0441263f87620630ef474f7a64649b851e9 Mon Sep 17 00:00:00 2001 From: izwick-schachter Date: Sat, 20 Jan 2018 12:37:01 -0500 Subject: [PATCH] Added alias Comment#created_at to match the API --- 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 89da23b..9624c75 100644 --- a/lib/se/api/types/comment.rb +++ b/lib/se/api/types/comment.rb @@ -22,6 +22,7 @@ def initialize(item_json) alias_method :user, :author alias_method :owner, :author alias_method :comment_id, :id + alias_method :creation_date, :created_at end end end