blob: 26f5327248f55ca0694c8b7e5ec753d8f2d1674b (
plain)
1
2
3
4
5
6
7
8
9
10
|
# frozen_string_literal: true
class LikesPresenter < BasePresenter
def as_api_json
{
guid: @presentable.guid,
author: PersonPresenter.new(@presentable.author).as_api_json
}
end
end
|