Add emoji_reactioned_by_slim api (not work)
This commit is contained in:
parent
a1485f242d
commit
9ad51e001e
8 changed files with 98 additions and 3 deletions
|
@ -0,0 +1,14 @@
|
|||
class StatusEmojiReactionsGroupedByAccountObject
|
||||
def initialize(account, emoji_reactions)
|
||||
@account = account
|
||||
@emoji_reactions = emoji_reactions
|
||||
end
|
||||
|
||||
def read_attribute_for_serialization(_)
|
||||
REST::EmojiReactedBySlimSerializer
|
||||
end
|
||||
|
||||
def model_name
|
||||
'EmojiReaction'
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue