Add the in-memory functions

master
Théophile Choutri 2017-04-15 16:20:07 +02:00
parent 0f69f2fa6b
commit aaef82ef9c
1 changed files with 8 additions and 0 deletions

View File

@ -100,6 +100,10 @@ defmodule Hunter.Api.InMemory do
%Hunter.Status{}
end
def reblogged_by(_, _) do
[%Hunter.Account{}]
end
def favourite(_, _) do
%Hunter.Status{}
end
@ -112,6 +116,10 @@ defmodule Hunter.Api.InMemory do
[%Hunter.Status{}]
end
def favourited_by(_, _) do
[%Hunter.Account{}]
end
def statuses(_, _, _) do
[%Hunter.Status{}]
end