lib/usaidwat/service.rb in usaidwat-0.1.5 vs lib/usaidwat/service.rb in usaidwat-0.1.6

- old
+ new

@@ -1,15 +1,17 @@ module USaidWat module Service class MockComment - attr_reader :subreddit, :body, :id, :link_id + attr_reader :subreddit, :body, :id, :link_id, :created_utc, :link_title def initialize(dict) data = dict['data'] @subreddit = data['subreddit'] @body = data['body'] @id = data['id'] @link_id = data['link_id'] + @created_utc = data['created_utc'] + @link_title = data['link_title'] end end class MockUser def initialize(username)