about summary refs log tree commit diff
path: root/app/services/fetch_feed_service.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-26 16:42:38 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-26 16:44:40 +0200
commitc6b0311b8626b42bc7e79e0195047a50e5b64dd1 (patch)
treee68f4b6922de5ec6277de7bc76b2bdb47a8c3e89 /app/services/fetch_feed_service.rb
parent0bd4608ad1b29328f04fcad6e7a20ef61668d239 (diff)
Fix #54 - Fetch remote accounts by URL from mentions
Fetching atom extracted from FetchRemoteAccountService and FetchRemoteStatusService
into FetchAtomService. Mentions of the constant "http://activityschema.org/collection/public"
skipped as it's not a real URL/user.
Diffstat (limited to 'app/services/fetch_feed_service.rb')
-rw-r--r--app/services/fetch_feed_service.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/app/services/fetch_feed_service.rb b/app/services/fetch_feed_service.rb
deleted file mode 100644
index f18e9fc06..000000000
--- a/app/services/fetch_feed_service.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-class FetchFeedService < BaseService
-  # Fetch an account's feed and process it
-  # @param [Account] account
-  def call(account)
-    process_service.(http_client.get(account.remote_url), account)
-  end
-
-  private
-
-  def process_service
-    @process_service ||= ProcessFeedService.new
-  end
-
-  def http_client
-    HTTP
-  end
-end