You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
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
|