Class: NewsFetcher::Commands::Reset
- Inherits:
-
NewsFetcher::Command
- Object
- Simple::CommandParser::Command
- NewsFetcher::Command
- NewsFetcher::Commands::Reset
- Defined in:
- lib/newsfetcher/commands/reset.rb
Instance Attribute Summary
Attributes inherited from NewsFetcher::Command
#dir, #log_level, #max_threads
Instance Method Summary collapse
Instance Method Details
#run(args) ⇒ Object
7 8 9 10 |
# File 'lib/newsfetcher/commands/reset.rb', line 7 def run(args) super @profile.find_subscriptions(ids: args).each(&:reset) end |