The code powering m.abunchtell.com https://m.abunchtell.com
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 

18 satır
328 B

  1. class FetchFeedService < BaseService
  2. # Fetch an account's feed and process it
  3. # @param [Account] account
  4. def call(account)
  5. process_service.(http_client.get(account.remote_url), account)
  6. end
  7. private
  8. def process_service
  9. @process_service ||= ProcessFeedService.new
  10. end
  11. def http_client
  12. HTTP
  13. end
  14. end