1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/app/services/fetch_feed_service.rb
2016-02-22 16:00:20 +01:00

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