mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2025-01-13 00:26:59 +01:00
15 lines
221 B
Ruby
15 lines
221 B
Ruby
class FetchFeedService
|
|
def call(account)
|
|
process_service.(http_client.get(account.remote_url), account)
|
|
end
|
|
|
|
private
|
|
|
|
def process_service
|
|
ProcessFeedService.new
|
|
end
|
|
|
|
def http_client
|
|
HTTP
|
|
end
|
|
end
|