Skip to content

Commit

Permalink
Added Comment#edited
Browse files Browse the repository at this point in the history
  • Loading branch information
isaiahzs committed Jan 20, 2018
1 parent 7c66f04 commit 9f0ec3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/se/api/types/comment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 9f0ec3a

Please sign in to comment.