Class: NewsFetcher::Commands::Dir

Inherits:
NewsFetcher::Command show all
Defined in:
lib/newsfetcher/commands/dir.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
11
12
# File 'lib/newsfetcher/commands/dir.rb', line 7

def run(args)
  super
  @profile.find_subscriptions(ids: args).each do |subscription|
    puts subscription.dir
  end
end