Class: DownloadSolutions::Api::Reddit::RejectUnwantedReplies
- Inherits:
-
Object
- Object
- DownloadSolutions::Api::Reddit::RejectUnwantedReplies
- Defined in:
- lib/download_solutions/api/reddit/reject_unwanted_replies.rb
Class Method Summary collapse
-
.call(params:) ⇒ void
Filters out replies that are not gennerally relevant for posterity: - removed/deleted with no replies - by moderators - by bots.
Class Method Details
.call(params:) ⇒ void
This method returns an undefined value.
Filters out replies that are not gennerally relevant for posterity:
- removed/deleted with no replies
- by moderators
- by bots
12 13 14 15 16 |
# File 'lib/download_solutions/api/reddit/reject_unwanted_replies.rb', line 12 def self.call(params:) params.comments.each do |comment| reject_unwanted_replies!(comment) end end |