Files
danbooru/app/logical/moderator/dashboard/queries/comment.rb
2011-07-16 19:20:02 -04:00

15 lines
269 B
Ruby

module Moderator
module Dashboard
module Queries
class Comment
attr_reader :comment, :count
def initialize(hash)
@comment = Comment.find(hash["comment_id"])
@count = hash["count"]
end
end
end
end
end