1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-25 07:37:08 +09:00
whippy-edition/app/services/fetch_feed_service.rb

16 lines
221 B
Ruby
Raw Normal View History

2016-02-21 06:53:20 +09:00
class FetchFeedService
def call(account)
2016-02-23 00:00:20 +09:00
process_service.(http_client.get(account.remote_url), account)
end
private
def process_service
ProcessFeedService.new
end
def http_client
HTTP
2016-02-21 06:53:20 +09:00
end
end