Class: DownloadSolutions::Api::Reddit::RemoveIds

Inherits:
Object
  • Object
show all
Defined in:
lib/download_solutions/api/reddit/remove_ids.rb

Class Method Summary collapse

Class Method Details

.call(params:) ⇒ void

This method returns an undefined value.

Removes IDs from comments.

Parameters:



9
10
11
12
13
# File 'lib/download_solutions/api/reddit/remove_ids.rb', line 9

def self.call(params:)
  params.comments.each do |comment|
    remove_ids!(comment)
  end
end