Skip to content

Commit

Permalink
Added alias Comment#created_at to match the API
Browse files Browse the repository at this point in the history
  • Loading branch information
isaiahzs committed Jan 20, 2018
1 parent c8e60f0 commit 7c66f04
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 @@ -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

0 comments on commit 7c66f04

Please sign in to comment.